summaryrefslogtreecommitdiff
path: root/absl/container/internal/btree.h
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2022-05-31 08:00:22 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-05-31 08:01:15 -0700
commita4cc270df18b47685e568e01bb5c825493f58d25 (patch)
treef0693fa9c295055365593aaf923fd4d3cd840024 /absl/container/internal/btree.h
parentea78ded7a5f999f19a12b71f5a4988f6f819f64f (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/internal/btree.h')
0 files changed, 0 insertions, 0 deletions