Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for non (0.1 sec)

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

    import okhttp3.internal.threadFactory
    
    /**
     * A set of worker threads that are shared among a set of task queues.
     *
     * Use [INSTANCE] for a task runner that uses daemon threads. There is not currently a shared
     * instance for non-daemon threads.
     *
     * The task runner is also responsible for releasing held threads when the library is unloaded.
     * This is for the benefit of container environments that implement code unloading.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 starting              : task three",
          "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}"
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top