Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for differentQueuesAreParallel (0.09 sec)

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

          "FINE: Q10000 finished run in   0 µs: task three",
        )
      }
    
      /** Inspect how many runnables have been enqueued. If non-zero then we're truly parallel. */
      @Test fun differentQueuesAreParallel() {
        redQueue.execute("task one", 100.µs) {
          log += "one:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}"
        }
    
        blueQueue.execute("task two", 100.µ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