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/chromium_org/third_party/WebKit/Source/wtf/
DThreadingWin.cpp178 static void storeThreadHandleByIdentifier(DWORD threadID, HANDLE threadHandle) in storeThreadHandleByIdentifier() argument
182 threadMap().add(threadID, threadHandle); in storeThreadHandleByIdentifier()
214 …HANDLE threadHandle = reinterpret_cast<HANDLE>(_beginthreadex(0, 0, wtfThreadEntryPoint, invocatio… in createThreadInternal() local
215 if (!threadHandle) { in createThreadInternal()
224 storeThreadHandleByIdentifier(threadIdentifier, threadHandle); in createThreadInternal()
233 HANDLE threadHandle = threadHandleForIdentifier(threadID); in waitForThreadCompletion() local
234 if (!threadHandle) in waitForThreadCompletion()
237 DWORD joinResult = WaitForSingleObject(threadHandle, INFINITE); in waitForThreadCompletion()
241 CloseHandle(threadHandle); in waitForThreadCompletion()
251 HANDLE threadHandle = threadHandleForIdentifier(threadID); in detachThread() local
[all …]
DThreadingPthreads.cpp182 pthread_t threadHandle; in createThreadInternal() local
183 if (pthread_create(&threadHandle, 0, wtfThreadEntryPoint, invocation.get())) { in createThreadInternal()
191 return establishIdentifierForPthreadHandle(threadHandle); in createThreadInternal()
/external/chromium_org/third_party/angle/tests/standalone_tests/
DEGLThreadTest.cpp71 …HANDLE threadHandle = CreateThread(NULL, 0, EGLThreadTest::ThreadingTestEntryPoint, this, 0, &thre… in TEST_F() local
72 EXPECT_TRUE(threadHandle != NULL); in TEST_F()
75 DWORD waitResult = WaitForSingleObject(threadHandle, 1000); in TEST_F()
/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()