31 Oct
2023
31 Oct
'23
11:13 p.m.
On Tue Oct 31 17:00:16 2023 +0000, Nikolay Sivov wrote:
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. Right, it's my second case then. Which means `OnProcessSample` is likely called with the grabber lock released, which is doable.
Do you want that as part of this MR? And what do you think about the other stuff I mentioned? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4187#note_50454