31 Oct
2023
31 Oct
'23
5 p.m.
On Mon Oct 30 21:52:38 2023 +0000, Yuxuan Shui wrote:
Or maybe you mean like putting an `while(true)` inside `OnProcessSample`? In that case, I guess this means either `OnProcessSample` is called without the grabber locked, or shutting down a grabber doesn't require its lock. I think the latter is less likely, the former is achievable independent of this MR. I mean that putting long Sleep() in OnProcessSample(), which is called from some thread from the pool/async queue, does not prevent Shutdown() from completing from the main thread.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4187#note_50363