Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ensureAllTaskQueuesIdle (0.12 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          connectionPool.evictAll()
          assertEquals(0, connectionPool.connectionCount()) {
            "Still ${connectionPool.connectionCount()} connections open"
          }
        }
      }
    
      private fun ensureAllTaskQueuesIdle() {
        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top