Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for onlyOneCoordinatorWaitingToStartFutureTasks (0.2 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "red:finishing@100000",
          "blue:finishing@100000",
        )
        taskFaker.assertNoMoreTasks()
        assertThat(taskFaker.executeCallCount).isEqualTo(2)
      }
    
      @Test fun onlyOneCoordinatorWaitingToStartFutureTasks() {
        // Enqueueing the red task starts a coordinator thread.
        redQueue.execute("red task", 100.µs) {
          log += "red:run@${taskFaker.nanoTime}"
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top