Home
last modified time | relevance | path

Searched refs:currentThread (Results 1 – 25 of 142) sorted by relevance

123456

/external/guava/guava/src/com/google/common/util/concurrent/
DUninterruptibles.java63 Thread.currentThread().interrupt(); in awaitUninterruptibly()
91 Thread.currentThread().interrupt(); in awaitUninterruptibly()
112 Thread.currentThread().interrupt(); in joinUninterruptibly()
139 Thread.currentThread().interrupt(); in getUninterruptibly()
172 Thread.currentThread().interrupt(); in getUninterruptibly()
201 Thread.currentThread().interrupt(); in joinUninterruptibly()
221 Thread.currentThread().interrupt(); in takeUninterruptibly()
243 Thread.currentThread().interrupt(); in putUninterruptibly()
270 Thread.currentThread().interrupt(); in sleepUninterruptibly()
DAbstractCheckedFuture.java80 Thread.currentThread().interrupt(); in checkedGet()
109 Thread.currentThread().interrupt(); in checkedGet()
DMonitor.java329 Thread.currentThread().interrupt(); in enter()
476 Thread.currentThread().interrupt(); in enterWhenUninterruptibly()
836 Thread.currentThread().interrupt(); in waitInterruptibly()
886 Thread.currentThread().interrupt(); in waitInterruptibly()
923 Thread.currentThread().interrupt(); in waitUninterruptibly()
935 Thread.currentThread().interrupt(); in waitUninterruptibly()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DThreadTest.java87 while (!Thread.currentThread().isInterrupted()) { in run()
267 Thread.currentThread().countStackFrames(); in test_countStackFrames()
274 assertNotNull(Thread.currentThread()); in test_currentThread()
383 t.getContextClassLoader() == Thread.currentThread() in test_getContextClassLoader()
486 ct = new ChildThread1(Thread.currentThread(), "Interrupt Test1", in test_interrupt()
499 ct = new ChildThread1(Thread.currentThread(), "Interrupt Test2", in test_interrupt()
520 Thread.currentThread().interrupt(); in test_interrupted()
570 while (!Thread.currentThread().isInterrupted()) in test_isInterrupted()
661 final Thread main = Thread.currentThread(); in test_joinJ()
714 final Thread main = Thread.currentThread(); in test_joinJI()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/main/epoc/
DSDL_main.cpp99 RThread currentThread; in E32Main() local
101 currentThread.Rename(_L("SdlProgram")); in E32Main()
102 currentThread.SetProcessPriority(EPriorityLow); in E32Main()
103 currentThread.SetPriority(EPriorityMuchLess); in E32Main()
/external/webkit/Source/JavaScriptCore/wtf/qt/
DThreadingQt.cpp203 ThreadIdentifier currentThread() in currentThread() function
205 QThread* currentThread = QThread::currentThread(); in currentThread() local
206 if (ThreadIdentifier id = identifierByQthreadHandle(currentThread)) in currentThread()
208 return establishIdentifierForThread(currentThread); in currentThread()
/external/webkit/Source/WebCore/bindings/v8/
DV8DOMMap.cpp123 if (!store->domData()->owningThread() == WTF::currentThread()) in visitDOMNodesInCurrentThread()
138 if (!store->domData()->owningThread() == WTF::currentThread()) in visitDOMObjectsInCurrentThread()
153 if (!store->domData()->owningThread() == WTF::currentThread()) in visitActiveDOMObjectsInCurrentThread()
170 if (!store->domData()->owningThread() == WTF::currentThread()) in visitDOMSVGElementInstancesInCurrentThread()
/external/webkit/Source/JavaScriptCore/wtf/gtk/
DThreadingGtk.cpp162 ThreadIdentifier currentThread() in currentThread() function
164 GThread* currentThread = g_thread_self(); in currentThread() local
165 if (ThreadIdentifier id = identifierByGthreadHandle(currentThread)) in currentThread()
167 return establishIdentifierForThread(currentThread); in currentThread()
/external/guava/guava-tests/test/com/google/common/testing/
DGcFinalizationTest.java112 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwait_CountDownLatch_Interrupted()
128 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwaitDone_Future_Interrupted_Interrupted()
144 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwaitClear_Interrupted()
160 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwaitDone_FinalizationPredicate_Interrupted()
/external/webkit/Source/JavaScriptCore/wtf/chromium/
DMainThreadChromium.cpp49 mainThreadIdentifier = currentThread(); in initializeMainThread()
69 return currentThread() == mainThreadIdentifier; in isMainThread()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DInterruptionUtil.java76 final Thread interruptee = Thread.currentThread(); in requestInterruptIn()
93 new Interruptenator(Thread.currentThread(), interruptPeriodMillis); in repeatedlyInterruptTestThread()
136 Thread.currentThread().interrupt(); in joinUninterruptibly()
/external/webkit/Source/JavaScriptCore/wtf/
DThreading.h100 ThreadIdentifier currentThread();
113 using WTF::currentThread;
DCrossThreadRefCounted.h96 bool isOwnedByCurrentThread() const { return !m_threadId || m_threadId == currentThread(); } in isOwnedByCurrentThread()
119 m_threadId = currentThread(); in ref()
/external/webkit/Source/WebCore/storage/
DDatabaseDetails.h45 m_thread = currentThread(); in DatabaseDetails()
56 m_thread = currentThread(); in DatabaseDetails()
/external/javassist/src/test/test/javassist/proxy/
DProxyCacheGCTest.java40 ClassLoader oldCL = Thread.currentThread().getContextClassLoader(); in testCacheGC()
46 Thread.currentThread().setContextClassLoader(newCL); in testCacheGC()
49 Thread.currentThread().setContextClassLoader(oldCL); in testCacheGC()
/external/webkit/Source/WebCore/platform/
DTimer.cpp168 , m_thread(currentThread()) in TimerBase()
181 ASSERT(m_thread == currentThread()); in start()
189 ASSERT(m_thread == currentThread()); in stop()
284 ASSERT(m_thread == currentThread()); in setNextFireTime()
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DWaitingThread.java145 "\ncaller: " + Thread.currentThread() + in await()
152 this.waiter = Thread.currentThread(); in await()
DRefQueueWorker.java96 this.workerThread = Thread.currentThread(); in run()
99 while (this.workerThread == Thread.currentThread()) { in run()
/external/webkit/Source/WebCore/bindings/js/
DJSCallbackData.h53 , m_thread(currentThread()) in JSCallbackData()
60 ASSERT(m_thread == currentThread()); in ~JSCallbackData()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DErrorManager.java499 threadToListenerMap.put(Thread.currentThread(), listener); in setErrorListener()
503 threadToListenerMap.remove(Thread.currentThread()); in removeErrorListener()
507 threadToToolMap.put(Thread.currentThread(), tool); in setTool()
547 (ANTLRErrorListener)threadToListenerMap.get(Thread.currentThread()); in getErrorListener()
556 (ErrorState)threadToErrorStateMap.get(Thread.currentThread()); in getErrorState()
559 threadToErrorStateMap.put(Thread.currentThread(), ec); in getErrorState()
571 threadToErrorStateMap.put(Thread.currentThread(), ec); in resetErrorState()
915 Tool tool = (Tool)threadToToolMap.get(Thread.currentThread()); in panic()
/external/webkit/Source/WebCore/webaudio/
DAudioContext.cpp382 ThreadIdentifier thisThread = currentThread(); in lock()
397 ThreadIdentifier thisThread = currentThread(); in tryLock()
430 ASSERT(currentThread() == m_graphOwnerThread); in unlock()
438 return currentThread() == m_audioThread; in isAudioThread()
443 return currentThread() == m_graphOwnerThread; in isGraphOwner()
/external/easymock/src/org/easymock/internal/
DMocksBehavior.java214 lastThread = Thread.currentThread(); in checkThreadSafety()
215 } else if(lastThread != Thread.currentThread()) { in checkThreadSafety()
219 " Current: " + Thread.currentThread())); in checkThreadSafety()
DMethodSerializationWrapper.java62 Class<?> clazz = Class.forName(className, true, Thread.currentThread() in getMethod()
73 Thread.currentThread().getContextClassLoader()); in getMethod()
/external/webkit/Source/WebKit/chromium/src/
DWebWorkerClientImpl.cpp121 , m_workerThreadId(currentThread()) in WebWorkerClientImpl()
222 if (currentThread() != m_workerThreadId) { in postMessageToWorkerObject()
238 if (currentThread() != m_workerThreadId) { in postExceptionToWorkerObject()
262 if (currentThread() != m_workerThreadId) { in postConsoleMessageToWorkerObject()
/external/nist-sip/java/gov/nist/core/
DThreadAuditor.java44 thread = Thread.currentThread(); in ThreadHandle()
107 threadHandles.put(Thread.currentThread(), threadHandle); in addCurrentThread()

123456