diff options
author | Derek Mauro <dmauro@google.com> | 2022-05-31 08:00:22 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-05-31 08:01:15 -0700 |
commit | a4cc270df18b47685e568e01bb5c825493f58d25 (patch) | |
tree | f0693fa9c295055365593aaf923fd4d3cd840024 /absl/container/btree_set.h | |
parent | ea78ded7a5f999f19a12b71f5a4988f6f819f64f (diff) |
Stop using sleep timeouts for Linux futex-based SpinLock
Timeouts were once necessary when the SpinLock Unlock used an atomic
store and could therefore have a race and a missed wakeup, however,
the Unlock path now uses an atomic exchange, so the missed wakeup
cannot happen.
Fixes #1179
PiperOrigin-RevId: 452047517
Change-Id: I844944879b51b7f7ddac148e063a376cddd0d05a
Diffstat (limited to 'absl/container/btree_set.h')
0 files changed, 0 insertions, 0 deletions