Home
last modified time | relevance | path

Searched refs:threadHandle (Results 1 – 8 of 8) sorted by relevance

/external/nist-sip/java/gov/nist/core/
DThreadAuditor.java105 ThreadHandle threadHandle = new ThreadHandle(this); in addCurrentThread() local
107 threadHandles.put(Thread.currentThread(), threadHandle); in addCurrentThread() local
109 return threadHandle; in addCurrentThread()
118 public synchronized void ping(ThreadHandle threadHandle) { in ping() argument
119 threadHandle.setThreadActive(true); in ping()
139 ThreadHandle threadHandle = (ThreadHandle) it.next(); in auditThreads() local
140 if (!threadHandle.isThreadActive()) { in auditThreads()
142 Thread thread = threadHandle.getThread(); in auditThreads()
174 threadHandle.setThreadActive(false); in auditThreads()
188 ThreadHandle threadHandle = (ThreadHandle)it.next(); in toString() local
[all …]
/external/webkit/Source/JavaScriptCore/wtf/
DThreadingWin.cpp174 static void storeThreadHandleByIdentifier(DWORD threadID, HANDLE threadHandle) in storeThreadHandleByIdentifier() argument
178 threadMap().add(threadID, threadHandle); in storeThreadHandleByIdentifier()
215 …HANDLE threadHandle = CreateThread(0, 0, (LPTHREAD_START_ROUTINE)wtfThreadEntryPoint, invocation.g… in createThreadInternal() local
217 …HANDLE threadHandle = reinterpret_cast<HANDLE>(_beginthreadex(0, 0, wtfThreadEntryPoint, invocatio… in createThreadInternal() local
219 if (!threadHandle) { in createThreadInternal()
234 storeThreadHandleByIdentifier(threadIdentifier, threadHandle); in createThreadInternal()
243 HANDLE threadHandle = threadHandleForIdentifier(threadID); in waitForThreadCompletion() local
244 if (!threadHandle) in waitForThreadCompletion()
247 DWORD joinResult = WaitForSingleObject(threadHandle, INFINITE); in waitForThreadCompletion()
251 CloseHandle(threadHandle); in waitForThreadCompletion()
[all …]
DThreadingPthreads.cpp161 pthread_t threadHandle; in createThreadInternal() local
166 if (pthread_create(&threadHandle, 0, runThreadWithRegistration, invocation.get())) { in createThreadInternal()
174 return establishIdentifierForPthreadHandle(threadHandle); in createThreadInternal()
179 pthread_t threadHandle; in createThreadInternal() local
180 if (pthread_create(&threadHandle, 0, entryPoint, data)) { in createThreadInternal()
185 return establishIdentifierForPthreadHandle(threadHandle); in createThreadInternal()
/external/webkit/Tools/DumpRenderTree/chromium/
DTestShellWin.cpp94 HANDLE threadHandle = reinterpret_cast<HANDLE>(_beginthreadex( in waitTestFinished() local
101 DCHECK(threadHandle); in waitTestFinished()
112 WaitForSingleObject(threadHandle, 1000); in waitTestFinished()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DUDPMessageProcessor.java179 ThreadAuditor.ThreadHandle threadHandle = sipStack.getThreadAuditor().addCurrentThread(); in run() local
186 threadHandle.ping(); in run()
DUDPMessageChannel.java246 ThreadAuditor.ThreadHandle threadHandle = null; in run() local
267 if (threadHandle == null) { in run()
268 threadHandle = sipStack.getThreadAuditor() in run()
273 threadHandle.ping(); in run()
279 .wait(threadHandle in run()
DSIPTransactionStack.java368 ThreadAuditor.ThreadHandle threadHandle; field in SIPTransactionStack.PingTimer
372 threadHandle = a_oThreadHandle; in PingTimer()
379 if (threadHandle == null) { in runTask()
382 threadHandle = getThreadAuditor().addCurrentThread(); in runTask()
386 threadHandle.ping(); in runTask()
389 getTimer().schedule(new PingTimer(threadHandle), in runTask()
390 threadHandle.getPingIntervalInMillisecs()); in runTask()
/external/nist-sip/java/gov/nist/javax/sip/
DEventScanner.java459 … ThreadAuditor.ThreadHandle threadHandle = sipStack.getThreadAuditor().addCurrentThread(); in run() local
482 threadHandle.ping(); in run()
485 eventMutex.wait(threadHandle.getPingIntervalInMillisecs()); in run()