mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:52:57 +00:00
[host] windows: log MsgWaitForMultipleObjects errors
This function is sometimes flaky and may fail for no apparent reason, see https://stackoverflow.com/q/3945003. This has also been experienced during the development of #610. This commit adds logging so we may see if it ever fails for no reason and work out some way to fix it.
This commit is contained in:
parent
1a88996c47
commit
b1c26aaa95
2 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,7 @@ static DWORD WINAPI threadProc(LPVOID lParam)
|
|||
}
|
||||
break;
|
||||
default:
|
||||
DEBUG_ERROR("MsgWaitForMultipleObjects failed: 0x%lx", GetLastError());
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -151,6 +151,7 @@ static DWORD WINAPI threadProc(LPVOID lParam) {
|
|||
}
|
||||
break;
|
||||
default:
|
||||
DEBUG_ERROR("MsgWaitForMultipleObjects failed: 0x%lx", GetLastError());
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue