Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for coordinatorWait (0.06 sec)

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

            // No other thread is coordinating. Become the coordinator!
            else -> {
              coordinatorWaiting = true
              coordinatorWakeUpAt = now + minDelayNanos
              try {
                backend.coordinatorWait(this@TaskRunner, minDelayNanos)
              } catch (_: InterruptedException) {
                // Will cause all tasks to exit unless more are scheduled!
                cancelAll()
              } finally {
    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-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

     * [advanceUntil]. These functions don't return until the task threads are all idle.
     *
     * Task threads release their execution privilege in these ways:
     *
     *  * By yielding in [TaskRunner.Backend.coordinatorWait].
     *  * By yielding in [BlockingQueue.poll].
     *  * By completing.
     */
    class TaskFaker : Closeable {
      val logger = Logger.getLogger("TaskFaker." + instance++)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/concurrent/TaskRunner$RealBackend;->coordinatorNotify(Lokhttp3/internal/concurrent/TaskRunner;)V
    HSPLokhttp3/internal/concurrent/TaskRunner$RealBackend;->coordinatorWait(Lokhttp3/internal/concurrent/TaskRunner;J)V
    HSPLokhttp3/internal/concurrent/TaskRunner$RealBackend;->execute(Lokhttp3/internal/concurrent/TaskRunner;Ljava/lang/Runnable;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
Back to top