cwMutex.cpp : Do not indicate failure when the mutex times out.

This commit is contained in:
kevin 2023-02-19 17:11:39 -05:00
parent a523b03ea9
commit d4eacdf964

View File

@ -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.");