[PATCH 01/15] server: Wait before suspending threads in APC.
jacek at codeweavers.com
Mon Jan 27 15:58:25 CST 2020
On 27/01/2020 13:07, Rémi Bernon wrote:
> The APC_BREAK_PROCESS call creates a thread that raises an exception,
> suspending the whole process. There's a race condition between this
> thread and the APC thread notifying the server of its completion.
What's wrong about that? Suspending process on thread creation shouldn't
be a problem. The debugger should process this event, which will resume
the new thread and let it continue to the break point. Before
introducing APC_BREAK_PROCESS I had to fix it in another place in
winedbg, see commit 1bb98982d682a85b82e, maybe there is similar problem
in gdb proxy?
More information about the wine-devel