mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
add WAIT_ABANDONED
This commit is contained in:
parent
6f5c594dcf
commit
dc3ef4d4b9
@ -40,6 +40,10 @@ public:
|
||||
if ((ret = ::WaitForSingleObject(h_, ms)) == WAIT_OBJECT_0) {
|
||||
return true;
|
||||
}
|
||||
if (ret == WAIT_ABANDONED) {
|
||||
ipc::log("WaitForSingleObject ret: WAIT_ABANDONED\n");
|
||||
return true;
|
||||
}
|
||||
if (ret == WAIT_TIMEOUT) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user