summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-06-08 11:08:26 -0400
committerEliot Horowitz <eliot@10gen.com>2010-06-08 11:08:26 -0400
commitd79f8e1ea1155774d0f10598253d4d814b307ad2 (patch)
tree4dd1d28e4ab16722d646af89176eee393c49b037
parent74fe4041a0b25917bc13ad5d8644b46a09cebde7 (diff)
downloadmongo-d79f8e1ea1155774d0f10598253d4d814b307ad2.tar.gz
try to fix old boost
-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();
}