Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for activeQueuesContainsOnlyQueuesWithScheduledTasks (0.29 sec)

  1. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

       * up when they're no longer needed and that's annoying. Instead the task runner only tracks which
       * queues have work scheduled.
       */
      @Test fun activeQueuesContainsOnlyQueuesWithScheduledTasks() {
        redQueue.execute("task one", 100.µs) {
          // Do nothing.
        }
    
        blueQueue.execute("task two", 200.µs) {
          // Do nothing.
        }
    
        taskFaker.advanceUntil(0.µs)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top