Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for waitUntilNotified (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

                if (complete) return -1L
    
                // Another thread is already reading. Wait for that.
                if (upstreamReader != null) {
                  timeout.waitUntilNotified(this@Relay)
                  continue
                }
    
                // We will do the read.
                upstreamReader = Thread.currentThread()
                return@synchronized SOURCE_UPSTREAM
              }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top