Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SignalAll (0.17 sec)

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

                    if (coordinatorTask != null) {
                      waitingCoordinatorNotified = true
                      currentTask = coordinatorTask
                      taskRunner.condition.signalAll()
                    } else {
                      startNextTask()
                    }
                  }
                }
            }
    
            override fun coordinatorWait(
              taskRunner: TaskRunner,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            this.source.finished = true
          }
          open = isOpen
          condition.signalAll()
        }
        if (!open) {
          connection.removeStream(id)
        }
      }
    
      fun receiveRstStream(errorCode: ErrorCode) {
        this.withLock {
          if (this.errorCode == null) {
            this.errorCode = errorCode
            condition.signalAll()
          }
        }
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      internal fun removeStream(streamId: Int): Http2Stream? {
        this.withLock {
          val stream = streams.remove(streamId)
    
          // The removed stream may be blocked on a connection-wide window update.
          condition.signalAll()
    
          return stream
        }
      }
    
      internal fun updateConnectionFlowControl(read: Long) {
        this.withLock {
          readBytes.update(total = read)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
Back to top