mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 804511 - Use WT_EXECUTEDEFAULT instead of WT_EXECUTEWAITINTHREAD to avoid deadlocks while debugging. r=bent
This commit is contained in:
parent
bb8432ec40
commit
34b0250f2c
@ -55,7 +55,7 @@ bool ObjectWatcher::StartWatching(HANDLE object, Delegate* delegate) {
|
||||
|
||||
// Since our job is to just notice when an object is signaled and report the
|
||||
// result back to this thread, we can just run on a Windows wait thread.
|
||||
DWORD wait_flags = WT_EXECUTEINWAITTHREAD | WT_EXECUTEONLYONCE;
|
||||
DWORD wait_flags = WT_EXECUTEDEFAULT | WT_EXECUTEONLYONCE;
|
||||
|
||||
if (!RegisterWaitForSingleObject(&watch->wait_object, object, DoneWaiting,
|
||||
watch, INFINITE, wait_flags)) {
|
||||
|
Loading…
Reference in New Issue
Block a user