- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for awaitNanos (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt
internal inline fun Lockable.notify() = (this as Object).notify() internal inline fun Lockable.notifyAll() = (this as Object).notifyAll() internal inline fun Lockable.awaitNanos(nanos: Long) { val ms = nanos / 1_000_000L val ns = nanos - (ms * 1_000_000L) if (ms > 0L || nanos > 0) { (this as Object).wait(ms, ns.toInt()) } } internal inline fun Lockable.assertLockNotHeld() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 2.1K bytes - Viewed (0)