aboutsummaryrefslogtreecommitdiff
path: root/absl/synchronization/mutex_method_pointer_test.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2023-09-18 19:14:42 -0700
committerCopybara-Service <copybara-worker@google.com>2023-09-18 19:15:53 -0700
commita5dc018f1016ffc92024338c300d64acfb1475f5 (patch)
tree2b5e537ccc0453dd66e4a4e68f4f1a96753ef917 /absl/synchronization/mutex_method_pointer_test.cc
parent243b7d386a15b88dfa32eeadabeb3ddc396a37f4 (diff)
downloadabseil-a5dc018f1016ffc92024338c300d64acfb1475f5.tar.gz
abseil-a5dc018f1016ffc92024338c300d64acfb1475f5.tar.bz2
abseil-a5dc018f1016ffc92024338c300d64acfb1475f5.zip
absl: requeue waiters as LIFO
Currently if a thread already blocked on a Mutex, but then failed to acquire the Mutex, we queue it in FIFO order again. As the result unlucky threads can suffer bad latency if they are requeued several times. The least we can do for them is to queue in LIFO order after blocking. PiperOrigin-RevId: 566478783 Change-Id: I8bac08325f20ff6ccc2658e04e1847fd4614c653
Diffstat (limited to 'absl/synchronization/mutex_method_pointer_test.cc')
0 files changed, 0 insertions, 0 deletions