diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-06-08 11:08:26 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-06-08 11:08:26 -0400 |
commit | d79f8e1ea1155774d0f10598253d4d814b307ad2 (patch) | |
tree | 4dd1d28e4ab16722d646af89176eee393c49b037 | |
parent | 74fe4041a0b25917bc13ad5d8644b46a09cebde7 (diff) | |
download | mongo-d79f8e1ea1155774d0f10598253d4d814b307ad2.tar.gz |
try to fix old boost
-rw-r--r-- | db/concurrency.h | 2 |
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(); } |