3 Nov
2023
3 Nov
'23
12:11 a.m.
I'm not sure if there's a *problem* if wake operations on a contended lock aren't immediate?
It's not that it's not immediate, blocking on the LIST_LOCKED bit is potentially an unbounded wait. I think the (maybe unrealistic) worst case scenario is the list being contended by acquirer which prevents the current holder from releasing it, and no thread makes progress. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3504#note_50744