diff options
Diffstat (limited to 'src/mongo/shell/shell_utils.h')
-rw-r--r-- | src/mongo/shell/shell_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/shell/shell_utils.h b/src/mongo/shell/shell_utils.h index 040caa41653..06a43e0b936 100644 --- a/src/mongo/shell/shell_utils.h +++ b/src/mongo/shell/shell_utils.h @@ -32,6 +32,7 @@ #include <boost/thread/mutex.hpp> #include "mongo/db/jsobj.h" +#include "mongo/stdx/mutex.h" #include "mongo/util/concurrency/mutex.h" namespace mongo { @@ -82,7 +83,7 @@ namespace mongo { // This mutex helps the shell serialize output on exit, to avoid deadlocks at shutdown. So // it also protects the global dbexitCalled. - extern boost::mutex &mongoProgramOutputMutex; + extern stdx::mutex &mongoProgramOutputMutex; // Helper to tell if a file exists cross platform // TODO: Remove this when we have a cross platform file utility library |