Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for AfterOtherTasks (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      fun advanceUntil(newTime: Long) {
        taskRunner.assertLockNotHeld()
    
        taskRunner.withLock {
          check(currentTask == TestThreadSerialTask)
          nanoTime = newTime
          yieldUntil(ResumePriority.AfterOtherTasks)
        }
      }
    
      /** Confirm all tasks have completed. Used by the test thread only. */
      fun assertNoMoreTasks() {
        taskRunner.assertLockNotHeld()
    
        taskRunner.withLock {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top