cwMutex.cpp : Do not indicate failure when the mutex times out.
This commit is contained in:
parent
a523b03ea9
commit
d4eacdf964
@ -116,6 +116,7 @@ cw::rc_t cw::mutex::lock( handle_t h, unsigned timeout_milliseconds )
|
|||||||
|
|
||||||
case ETIMEDOUT:
|
case ETIMEDOUT:
|
||||||
rc = kTimeOutRC;
|
rc = kTimeOutRC;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
rc = cwLogSysError(kInvalidOpRC,sysRc,"Lock failed.");
|
rc = cwLogSysError(kInvalidOpRC,sysRc,"Lock failed.");
|
||||||
|
Loading…
Reference in New Issue
Block a user