summaryrefslogtreecommitdiff
path: root/ABSEIL_ISSUE_TEMPLATE.md
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2023-08-29 23:57:04 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-08-29 23:57:48 -0700
commitb06ab1f3554eee58fa0eac046ea79f4b572fa502 (patch)
tree7d4ebec1fb206bf471bbdd3a9885f1ae4aa0d911 /ABSEIL_ISSUE_TEMPLATE.md
parentf6fc4efa6edf7285512797a5e68373994dd2df27 (diff)
absl: fix a priority bug in CondVar wait morphing
Enqueue updates priority of the queued thread. It was assumed that the queued thread is the current thread. But it's not the case in CondVar wait morhping, where we requeue an existing CondVar waiter on the Mutex. As the result one thread can falsely get priority of another thread. Fix this by not updating priority in this case. And make the assumption explicit and checked. PiperOrigin-RevId: 561249402 Change-Id: I9476c047757090b893a88a2839b795b85fe220ad
Diffstat (limited to 'ABSEIL_ISSUE_TEMPLATE.md')
0 files changed, 0 insertions, 0 deletions