4 Aug
2023
4 Aug
'23
9:43 p.m.
On Fri Aug 4 21:02:44 2023 +0000, Zebediah Figura wrote:
We could maybe grab the Queue id in the cs, 0 it, and use the local copy for unlocking. Does that sound better? That does seem like an improvement; I can't say I see a better way to solve the problem after looking, at least. We should probably mention in a comment why we're releasing outside of the lock; it is not obvious at all from the documentation that MFUnlockWorkQueue() can block. Nothing can call PutWorkItem or use the queue after Shutdown has been called.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3491#note_41432