diff options
author | Abseil Team <absl-team@google.com> | 2022-05-17 01:42:50 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-05-17 01:43:44 -0700 |
commit | aac2279f22eef04d01fc42e66fc183a32f08a9b4 (patch) | |
tree | 76ccdb36fa16672b0e230531d784167c0645afc0 /absl/synchronization/internal/thread_pool.h | |
parent | 63607288c14f87999e2b3914dd64e690d75f38f9 (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/thread_pool.h')
0 files changed, 0 insertions, 0 deletions