- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for holdsLock (0.09 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
fun clearAllEvents() { while (eventSequence.isNotEmpty()) { takeEvent() } } private fun logEvent(e: CallEvent) { for (lock in forbiddenLocks) { assertThat(Thread.holdsLock(lock), lock.toString()).isFalse() } if (enforceOrder) { checkForStartEvent(e) } eventSequence.offer(e) } private fun checkForStartEvent(e: CallEvent) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
throws ExecutionException { if (!valueReference.isLoading()) { throw new AssertionError(); } checkState(!Thread.holdsLock(e), "Recursive load of: %s", key); // don't consider expiration as we're concurrent with loading try { V value = valueReference.waitForValue(); if (value == null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0)