diff options
Diffstat (limited to 'db/db.h')
-rw-r--r-- | db/db.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -19,6 +19,8 @@ #include "../stdafx.h" #include "../grid/message.h" +namespace mongo { + void jniCallback(Message& m, Message& out); class MutexInfo { @@ -71,8 +73,12 @@ struct dblock : public lock { } }; +} // namespace mongo + #include "boost/version.hpp" +namespace mongo { + /* a scoped release of a mutex temporarily -- like a scopedlock but reversed. */ struct temprelease { @@ -93,8 +99,12 @@ struct temprelease { } }; +} // namespace mongo + #include "pdfile.h" +namespace mongo { + // tempish...move to TLS or pass all the way down as a parm extern map<string,Database*> databases; extern Database *database; @@ -190,4 +200,6 @@ struct dbtemprelease { } }; +} // namespace mongo + #include "dbinfo.h" |