Home
last modified time | relevance | path

Searched refs:unlock (Results 1 – 25 of 28) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantReadWriteLockTest.java84 writeLock.unlock(); in releaseWriteLock()
157 lock.writeLock().unlock(); in assertHasWaiters()
222 lock.writeLock().unlock(); in testLock()
228 lock.readLock().unlock(); in testLock()
245 lock.writeLock().unlock(); in testGetWriteHoldCount()
262 lock.writeLock().unlock(); in testGetHoldCount()
279 lock.readLock().unlock(); in testGetReadHoldCount()
292 lock.writeLock().unlock(); in testWriteUnlock_IMSE()
305 lock.readLock().unlock(); in testReadUnlock_IMSE()
402 lock.writeLock().unlock(); in testWriteTryLock()
[all …]
DReentrantLockTest.java81 lock.unlock(); in releaseLock()
148 lock.unlock(); in assertHasWaiters()
219 lock.unlock(); in testUnlock_IMSE()
235 lock.unlock(); in testTryLock()
260 lock.unlock(); in testHasQueuedThreads()
285 lock.unlock(); in testGetQueueLength()
327 lock.unlock(); in testHasQueuedThread()
359 lock.unlock(); in testGetQueuedThreads()
432 lock.unlock(); in testGetHoldCount()
450 lock.unlock(); in testIsLocked()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DDelayQueue.java153 lock.unlock(); in offer()
198 lock.unlock(); in poll()
239 lock.unlock(); in take()
290 lock.unlock(); in poll()
310 lock.unlock(); in peek()
320 lock.unlock(); in size()
357 lock.unlock(); in drainTo()
385 lock.unlock(); in drainTo()
401 lock.unlock(); in clear()
434 lock.unlock(); in toArray()
[all …]
DLinkedBlockingDeque.java207 lock.unlock(); in LinkedBlockingDeque()
349 lock.unlock(); in offerFirst()
364 lock.unlock(); in offerLast()
381 lock.unlock(); in putFirst()
398 lock.unlock(); in putLast()
421 lock.unlock(); in offerFirst()
444 lock.unlock(); in offerLast()
472 lock.unlock(); in pollFirst()
482 lock.unlock(); in pollLast()
495 lock.unlock(); in takeFirst()
[all …]
DThreadPoolExecutor.java669 public void unlock() { release(1); } in unlock() method in ThreadPoolExecutor.Worker
739 mainLock.unlock(); in tryTerminate()
767 mainLock.unlock(); in checkShutdownAccess()
783 mainLock.unlock(); in interruptWorkers()
817 w.unlock(); in interruptIdleWorkers()
824 mainLock.unlock(); in interruptIdleWorkers()
972 mainLock.unlock(); in addWorker()
1002 mainLock.unlock(); in addWorkerFailed()
1029 mainLock.unlock(); in processWorkerExit()
1149 w.unlock(); // allow interrupts in runWorker()
[all …]
DCyclicBarrier.java262 lock.unlock(); in dowait()
453 lock.unlock(); in isBroken()
473 lock.unlock(); in reset()
489 lock.unlock(); in getNumberWaiting()
DPriorityBlockingQueue.java289 lock.unlock(); // must release and then re-acquire main lock in tryGrow()
494 lock.unlock(); in offer()
538 lock.unlock(); in poll()
550 lock.unlock(); in take()
564 lock.unlock(); in poll()
575 lock.unlock(); in peek()
598 lock.unlock(); in size()
669 lock.unlock(); in remove()
688 lock.unlock(); in removeEQ()
706 lock.unlock(); in contains()
[all …]
DLinkedBlockingQueue.java176 takeLock.unlock(); in signalNotEmpty()
189 putLock.unlock(); in signalNotFull()
233 takeLock.unlock(); in fullyUnlock()
234 putLock.unlock(); in fullyUnlock()
292 putLock.unlock(); in LinkedBlockingQueue()
357 putLock.unlock(); in put()
392 putLock.unlock(); in offer()
427 putLock.unlock(); in offer()
449 takeLock.unlock(); in take()
474 takeLock.unlock(); in poll()
[all …]
DScheduledThreadPoolExecutor.java990 lock.unlock(); in contains()
1013 lock.unlock(); in remove()
1023 lock.unlock(); in size()
1041 lock.unlock(); in peek()
1067 lock.unlock(); in offer()
1109 lock.unlock(); in poll()
1143 lock.unlock(); in take()
1185 lock.unlock(); in poll()
1202 lock.unlock(); in clear()
1234 lock.unlock(); in drainTo()
[all …]
DForkJoinTask.java476 lock.unlock(); in recordExceptionalCompletion()
543 lock.unlock(); in clearExceptionalCompletion()
573 lock.unlock(); in getThrowableException()
637 lock.unlock(); in helpExpungeStaleExceptions()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DReentrantLockTest.java104 lock.unlock(); in releaseLock()
171 lock.unlock(); in assertHasWaiters()
242 lock.unlock(); in testUnlock_IMSE()
258 lock.unlock(); in testTryLock()
283 lock.unlock(); in testHasQueuedThreads()
308 lock.unlock(); in testGetQueueLength()
350 lock.unlock(); in testHasQueuedThread()
382 lock.unlock(); in testGetQueuedThreads()
455 lock.unlock(); in testGetHoldCount()
473 lock.unlock(); in testIsLocked()
[all …]
/libcore/ojluni/src/main/java/sun/nio/ch/
DPort.java71 fdToChannelLock.writeLock().unlock(); in register()
100 fdToChannelLock.writeLock().unlock(); in unregister()
122 fdToChannelLock.writeLock().unlock(); in isEmpty()
163 fdToChannelLock.writeLock().unlock(); in closeAllChannels()
DAsynchronousServerSocketChannelImpl.java92 closeLock.readLock().unlock(); in end()
109 closeLock.writeLock().unlock(); in close()
DAsynchronousFileChannelImpl.java92 closeLock.readLock().unlock(); in end()
DAsynchronousSocketChannelImpl.java125 closeLock.readLock().unlock(); in end()
142 closeLock.writeLock().unlock(); in close()
DSimpleAsynchronousFileChannelImpl.java98 closeLock.writeLock().unlock(); in close()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DReentrantReadWriteLockTest.java44 lock.readLock().unlock(); in run()
58 lock.writeLock().unlock(); in run()
111 lock.writeLock().unlock(); in testGetQueuedReaderThreads()
130 lock.writeLock().unlock(); in testGetQueuedWriterThreads()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixSecureDirectoryStream.java81 ds.writeLock().unlock(); in close()
145 ds.readLock().unlock(); in newDirectoryStream()
177 ds.readLock().unlock(); in newByteChannel()
226 ds.readLock().unlock(); in implDelete()
279 that.ds.readLock().unlock(); in move()
282 this.ds.readLock().unlock(); in move()
395 ds.readLock().unlock(); in readAttributes()
439 ds.readLock().unlock(); in setTimes()
493 ds.readLock().unlock(); in readAttributes()
519 ds.readLock().unlock(); in setPermissions()
[all …]
DUnixDirectoryStream.java120 writeLock().unlock(); in close()
186 readLock().unlock(); in readNextEntry()
/libcore/ojluni/src/main/java/java/net/
DInMemoryCookieStore.java105 lock.unlock(); in add()
132 lock.unlock(); in get()
160 lock.unlock(); in getCookies()
201 lock.unlock(); in getURIs()
231 lock.unlock(); in remove()
249 lock.unlock(); in removeAll()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLock.java337 void unlock(); in unlock() method
DReentrantLock.java465 public void unlock() { in unlock() method in ReentrantLock
DReentrantReadWriteLock.java887 public void unlock() { in unlock() method in ReentrantReadWriteLock.ReadLock
1137 public void unlock() { in unlock() method in ReentrantReadWriteLock.WriteLock
DStampedLock.java580 public void unlock(long stamp) { in unlock() method in StampedLock
889 public void unlock() { unstampedUnlockRead(); } in unlock() method in StampedLock.ReadLockView
905 public void unlock() { unstampedUnlockWrite(); } in unlock() method in StampedLock.WriteLockView
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java68 public void unlock() { in unlock() method in ReentrantLock

12