summaryrefslogtreecommitdiff
path: root/src/mongo/util/concurrency/rwlockimpl.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-25 10:01:15 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-25 10:01:15 -0500
commit2b4448551c31dcf07fd56185c49a543c9a2b6ce0 (patch)
tree96dde5a21bbbbc1c3b133e3447be87f811d06094 /src/mongo/util/concurrency/rwlockimpl.h
parentf40b1596bbaaaca8588e97d0ef38395934bf2e72 (diff)
downloadmongo-2b4448551c31dcf07fd56185c49a543c9a2b6ce0.tar.gz
fix pthread version of lock which is rarely used
Diffstat (limited to 'src/mongo/util/concurrency/rwlockimpl.h')
-rw-r--r--src/mongo/util/concurrency/rwlockimpl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/util/concurrency/rwlockimpl.h b/src/mongo/util/concurrency/rwlockimpl.h
index fdb2f4d8c81..a21a449ce16 100644
--- a/src/mongo/util/concurrency/rwlockimpl.h
+++ b/src/mongo/util/concurrency/rwlockimpl.h
@@ -106,8 +106,6 @@ namespace mongo {
class RWLockBase : boost::noncopyable {
pthread_rwlock_t _lock;
static void check( int x ) {
- if( x == 0 ) return;
- log() << "pthread rwlock failed: " << x << endl;
assert( x == 0 );
}