[PATCH 01/15] server: Wait before suspending threads in APC.

Rémi Bernon rbernon at codeweavers.com
Tue Jan 28 07:55:30 CST 2020

On 1/28/20 2:43 PM, Rémi Bernon wrote:
> If we want to have the later scenario be race-free, it would require to 
> link the debug even only when the servicing thread is suspended. Or, to 
> synchronize the servicing and exception thread somehow so that the 
> servicing always does its select request first.

Or maybe, as a simpler solution, hiding the problem by synchronizing 
DbgBreakProcess and WaitForDebugEvent.
Rémi Bernon <rbernon at codeweavers.com>

More information about the wine-devel mailing list