Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for holdsLock (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    /** Dispatcher is not [Lockable] because we don't want that type in our public API. */
    internal fun Dispatcher.assertLockNotHeld() {
      if (assertionsEnabled && Thread.holdsLock(this)) {
        throw AssertionError("Thread ${Thread.currentThread().name} MUST NOT hold lock on $this")
      }
    }
    
    /**
     * Returns the string "OkHttp" unless the library has been shaded for inclusion in another library,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
Back to top