14 Apr
2023
14 Apr
'23
4:51 p.m.
On Fri Apr 14 16:33:16 2023 +0000, Torge Matthies wrote:
I didn't think that this is how `IsSynchronouslyBlocked` was implemented, I thought it was unrelated to `Block`, but this makes sense. This implementation of `Block`/`Unblock` is racy though, an earlier call to `Unblock` doesn't unblock a later call to `Block`, while the documentation explicitly states that it should. But that's an easy fix, I'll just make `blocked` a LONG. Thanks for spotting it.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1979#note_30102