javacommons/utils/src/monitor.cpp
branchRCL_3
changeset 17 0fd27995241b
parent 14 04becd199f91
--- a/javacommons/utils/src/monitor.cpp	Fri Apr 30 10:40:48 2010 +0300
+++ b/javacommons/utils/src/monitor.cpp	Tue May 11 16:07:20 2010 +0300
@@ -97,7 +97,7 @@
                 currentTimeVal.tv_usec * 1000 + (timeOut % 1000) * 1000 * 1000;
 
             int err = pthread_cond_timedwait(&mCondVar, &mMutex, &timeOutTime);
-            if (err != ETIMEDOUT)
+            if (err != 0 && err != ETIMEDOUT)
             {
                 ELOG1(EUtils, "Monitor: Timed wait failed, err = %d", err);
             }