May 6, 2026
9:03 a.m.
This fixes [bug 54979](http://bugs.winehq.org/show_bug.cgi?id=54979). Having contention on any of the spin locks is pretty catastrophic for performance (and also causes issues with fairness), so this change tries to make collisions on the futex queues much less likely. In the worst case, not full memory barriers are issued anymore while spinning, and the time slice is yielded if it seems unreasonable that the lock holder is still executing at the moment on a CPU... -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10829