summaryrefslogtreecommitdiff
path: root/util/concurrency/rwlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/concurrency/rwlock.h')
-rw-r--r--util/concurrency/rwlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/concurrency/rwlock.h b/util/concurrency/rwlock.h
index d8a11ea..ed5bda0 100644
--- a/util/concurrency/rwlock.h
+++ b/util/concurrency/rwlock.h
@@ -203,7 +203,7 @@ namespace mongo {
DEV mutexDebugger.entering(_name);
}
void unlock() {
- mutexDebugger.leaving(_name);
+ DEV mutexDebugger.leaving(_name);
check( pthread_rwlock_unlock( &_lock ) );
}