diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-01-25 10:01:15 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-01-25 10:01:15 -0500 |
commit | 2b4448551c31dcf07fd56185c49a543c9a2b6ce0 (patch) | |
tree | 96dde5a21bbbbc1c3b133e3447be87f811d06094 /src | |
parent | f40b1596bbaaaca8588e97d0ef38395934bf2e72 (diff) | |
download | mongo-2b4448551c31dcf07fd56185c49a543c9a2b6ce0.tar.gz |
fix pthread version of lock which is rarely used
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/util/concurrency/rwlockimpl.h | 2 |
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 ); } |