22 Sep
2023
22 Sep
'23
6:32 p.m.
On Wed Sep 20 22:29:25 2023 +0000, Zebediah Figura wrote:
Wait, why can't we access the list head if we're the last owner? Nobody can wake the lock other than us, right? The reason is the bail out behavior in `srwlock_wake`. Another thread might still be in `srwlock_wake` undoing the list modifications when the current thread is the last owner of the srwlock.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3504#note_46376