cwIo.cpp : The main callback no longer indicates a failure when the mutex times out.
This commit is contained in:
parent
d4eacdf964
commit
47aeaabbfb
6
cwIo.cpp
6
cwIo.cpp
@ -214,7 +214,11 @@ namespace cw
|
||||
{
|
||||
if((rc = mutex::unlock(p->cbMutexH)) != kOkRC )
|
||||
{
|
||||
rc = cwLogError(rc,"io mutex callback mutex unlock failed.");
|
||||
// Time out is not a failure
|
||||
if( rc == kTimeOutRC )
|
||||
rc = kOkRC;
|
||||
else
|
||||
rc = cwLogError(rc,"io mutex callback mutex unlock failed.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user