summaryrefslogtreecommitdiff
path: root/absl/synchronization/internal/waiter.h
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-05-17 01:42:50 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-05-17 01:43:44 -0700
commitaac2279f22eef04d01fc42e66fc183a32f08a9b4 (patch)
tree76ccdb36fa16672b0e230531d784167c0645afc0 /absl/synchronization/internal/waiter.h
parent63607288c14f87999e2b3914dd64e690d75f38f9 (diff)
absl: fix live-lock in CondVar
CondVar::WaitWithTimeout can live-lock when timeout is racing with Signal/SignalAll and Signal/SignalAll thread is not scheduled due to priorities, affinity or other scheduler artifacts. This could lead to stalls of up to tens of seconds in some cases. PiperOrigin-RevId: 449159670 Change-Id: I64bbd277c1f91964cfba3306ba8a80eeadf85f64
Diffstat (limited to 'absl/synchronization/internal/waiter.h')
0 files changed, 0 insertions, 0 deletions