Author: dreiss
Date: Mon Dec  1 18:22:01 2008
New Revision: 722336

URL: http://svn.apache.org/viewvc?rev=722336&view=rev
Log:
THRIFT-215. cpp: Disable an assertion that fails on various platforms

Modified:
    incubator/thrift/trunk/lib/cpp/src/concurrency/Monitor.cpp

Modified: incubator/thrift/trunk/lib/cpp/src/concurrency/Monitor.cpp
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/concurrency/Monitor.cpp?rev=722336&r1=722335&r2=722336&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/concurrency/Monitor.cpp (original)
+++ incubator/thrift/trunk/lib/cpp/src/concurrency/Monitor.cpp Mon Dec  1 
18:22:01 2008
@@ -66,7 +66,9 @@
                                           &pthread_mutex_,
                                           &abstime);
       if (result == ETIMEDOUT) {
-        assert(Util::currentTime() >= (now + timeout));
+        // pthread_cond_timedwait has been observed to return early on
+        // various platforms, so comment out this assert.
+        //assert(Util::currentTime() >= (now + timeout));
         throw TimedOutException();
       }
     }


Reply via email to