Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0c87ad4
)
THRIFT-215. cpp: Disable an assertion that fails on various platforms
author
David Reiss
<dreiss@apache.org>
Tue, 2 Dec 2008 02:22:01 +0000
(
02:22
+0000)
committer
David Reiss
<dreiss@apache.org>
Tue, 2 Dec 2008 02:22:01 +0000
(
02:22
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@722336
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/concurrency/Monitor.cpp
patch
|
blob
|
history
diff --git
a/lib/cpp/src/concurrency/Monitor.cpp
b/lib/cpp/src/concurrency/Monitor.cpp
index
1c826c8
..
932ae68
100644
(file)
--- a/
lib/cpp/src/concurrency/Monitor.cpp
+++ b/
lib/cpp/src/concurrency/Monitor.cpp
@@
-66,7
+66,9
@@
class Monitor::Impl {
&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();
}
}