commit | d0cdecf4a1baec625cf73e91b0cef406c7b4039e | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Thu Dec 08 19:34:01 2011 +0000 |
committer | Roger Meier <roger@apache.org> | Thu Dec 08 19:34:01 2011 +0000 |
tree | f896a4765fedd495d7c79d22229e238fb3d886fe | |
parent | 284a9b56d73194d8a123f7bf88e2dace9c3cbec0 [diff] [blame] |
THRIFT-1442 TNonblockingServer: Refactor to allow multiple IO Threads Fix Warnings Patch: Dave Watson git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212067 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/Mutex.cpp b/lib/cpp/src/concurrency/Mutex.cpp index 0cfa0ad..332d415 100644 --- a/lib/cpp/src/concurrency/Mutex.cpp +++ b/lib/cpp/src/concurrency/Mutex.cpp
@@ -154,6 +154,7 @@ PROFILE_MUTEX_NOT_LOCKED(); return false; #else + (void)milliseconds; // If pthread_mutex_timedlock isn't supported, the safest thing to do // is just do a nonblocking trylock. return trylock();