Home
last modified time | relevance | path

Searched refs:waitingThread (Results 1 – 5 of 5) sorted by relevance

/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DWaitingThreadAborter.java42 private WaitingThread waitingThread; field in WaitingThreadAborter
51 if (waitingThread != null) in abort()
52 waitingThread.interrupt(); in abort()
62 public void setWaitingThread(WaitingThread waitingThread) { in setWaitingThread() argument
63 this.waitingThread = waitingThread; in setWaitingThread()
65 waitingThread.interrupt(); in setWaitingThread()
DConnPoolByRoute.java284 WaitingThread waitingThread = null;
334 if (waitingThread == null) {
335 waitingThread =
337 aborter.setWaitingThread(waitingThread);
342 rospl.queueThread(waitingThread);
343 waitingThreads.add(waitingThread);
344 success = waitingThread.await(deadline);
351 rospl.removeThread(waitingThread);
352 waitingThreads.remove(waitingThread);
614 WaitingThread waitingThread = null;
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DEventLoopsTest.kt133 private val waitingThread = atomic<Thread?>(null) constant
138 waitingThread.value?.let { LockSupport.unpark(it) } in fireEvent()
142 check(waitingThread.getAndSet(Thread.currentThread()) == null) in blockingAwait()
147 waitingThread.value = null in blockingAwait()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DUninterruptibleFutureTest.java200 Thread waitingThread = new Thread(interruptReporter); in runNInterruptsTest() local
201 waitingThread.start(); in runNInterruptsTest()
203 waitingThread.interrupt(); in runNInterruptsTest()
219 Thread waitingThread = new Thread(wasInterrupted); in testMakeUninterruptible_plainFutureSanityCheck() local
220 waitingThread.start(); in testMakeUninterruptible_plainFutureSanityCheck()
221 waitingThread.interrupt(); in testMakeUninterruptible_plainFutureSanityCheck()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DUninterruptibleFutureTest.java200 Thread waitingThread = new Thread(interruptReporter); in runNInterruptsTest() local
201 waitingThread.start(); in runNInterruptsTest()
203 waitingThread.interrupt(); in runNInterruptsTest()
219 Thread waitingThread = new Thread(wasInterrupted); in testMakeUninterruptible_plainFutureSanityCheck() local
220 waitingThread.start(); in testMakeUninterruptible_plainFutureSanityCheck()
221 waitingThread.interrupt(); in testMakeUninterruptible_plainFutureSanityCheck()