summaryrefslogtreecommitdiff
path: root/db/concurrency.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/concurrency.h')
-rw-r--r--db/concurrency.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/concurrency.h b/db/concurrency.h
index 5c5c11c9c9a..e86021be828 100644
--- a/db/concurrency.h
+++ b/db/concurrency.h
@@ -262,7 +262,7 @@ namespace mongo {
}
bool lock_try(){
- bool got = boost::detail::thread::lock_ops<boost::recursive_mutex>::trylock(m);
+ bool got = m.try_lock();
if ( got ){
_minfo.entered();
}