Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertLockHeld (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private fun beforeRun(task: Task) {
        assertLockHeld()
    
        task.nextExecuteNanoTime = -1L
        val queue = task.queue!!
        queue.futureTasks.remove(task)
        readyQueues.remove(queue)
        queue.activeTask = task
        busyQueues.add(queue)
      }
    
      private fun afterRun(
        task: Task,
        delayNanos: Long,
        completedNormally: Boolean,
      ) {
        assertLockHeld()
    
        val queue = task.queue!!
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

    import okhttp3.Response
    import okhttp3.internal.assertLockNotHeld
    import okhttp3.internal.cache.CacheInterceptor
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.Lockable
    import okhttp3.internal.concurrent.assertLockHeld
    import okhttp3.internal.concurrent.assertLockNotHeld
    import okhttp3.internal.concurrent.withLock
    import okhttp3.internal.http.BridgeInterceptor
    import okhttp3.internal.http.CallServerInterceptor
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top