diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-12-05 23:47:24 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-12-05 23:47:24 -0500 |
commit | 8ea3e9f74a0dbaf11926f8e421cab608d28a34b9 (patch) | |
tree | ea1227b6a2cd60b63d8319f996bff08cb10c3696 /db/concurrency.h | |
parent | 9cad87e7be2dfc5230596e1d4334f0650ab40fe7 (diff) | |
download | mongo-8ea3e9f74a0dbaf11926f8e421cab608d28a34b9.tar.gz |
fix old boost version
Diffstat (limited to 'db/concurrency.h')
-rw-r--r-- | db/concurrency.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/concurrency.h b/db/concurrency.h index 94f1e48921d..6d0a94fbf31 100644 --- a/db/concurrency.h +++ b/db/concurrency.h @@ -163,6 +163,7 @@ namespace mongo { assert( info().isLocked() ); } bool atLeastReadLocked() { return info().isLocked(); } + int getState(){ return info().isLocked() ? 1 : 0; } }; #endif |