Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
google_grpc: attempt to reduce lock contention between completionThre…
…ad() and onCompletedOps() (#14777) Holding a stream's lock while running handleOpCompletion can result in the completion queue having to wait until the lock is released before adding messages on that stream to completed_ops_. In cases where the completion queue is shared across multiple gRPC streams, delivery of new messages on all streams is blocked until the lock held by the first stream while executing onCompletedOps. Signed-off-by: Antonio Vicente <[email protected]>
- Loading branch information