mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +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
@ -106,6 +106,7 @@ static DWORD WINAPI threadProc(LPVOID lParam)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
DEBUG_ERROR("MsgWaitForMultipleObjects failed: 0x%lx", GetLastError());
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -151,6 +151,7 @@ static DWORD WINAPI threadProc(LPVOID lParam) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
DEBUG_ERROR("MsgWaitForMultipleObjects failed: 0x%lx", GetLastError());
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user