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:
|
||||
rc = kTimeOutRC;
|
||||
break;
|
||||
|
||||
default:
|
||||
rc = cwLogSysError(kInvalidOpRC,sysRc,"Lock failed.");
|
||||
|
Loading…
Reference in New Issue
Block a user