13 Jan
2023
13 Jan
'23
10:26 p.m.
On Fri Jan 13 22:24:33 2023 +0000, Bernhard Kölbl wrote:
The problem I see here is that a new worker could be spawned prematurely when I set`session->worker_thread = NULL;` before waiting on the thread. This could then cause races. About the CS re-entry. I do this, so `session->worker_thread` doesn't change under _StartAsync and _StopAsyncs feet.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/729#note_20981