Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for taskNameIsUsedForThreadNameWhenRunning (0.21 sec)

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

          "FINE: Q10000 finished run in   0 µs: task one",
          "FINE: Q10001 starting              : task two",
          "FINE: Q10001 finished run in   0 µs: task two",
        )
      }
    
      @Test fun taskNameIsUsedForThreadNameWhenRunning() {
        redQueue.execute("lucky task") {
          log += "run threadName:${Thread.currentThread().name}"
        }
    
        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