diff options
author | Adam Midvidy <amidvidy@gmail.com> | 2015-06-18 11:18:11 -0400 |
---|---|---|
committer | Adam Midvidy <amidvidy@gmail.com> | 2015-06-18 15:32:33 -0400 |
commit | 9bb8d65d8d6c58fa325e81ad8f0d7d067a66f413 (patch) | |
tree | 516cf7fbefc28e3cf925a084f873e8af985543e9 /src/mongo/db/commands/fsync.cpp | |
parent | 94543115f64345f3bb74b2508b1b319d6b6cf68d (diff) | |
download | mongo-9bb8d65d8d6c58fa325e81ad8f0d7d067a66f413.tar.gz |
SERVER-18723 boost -> stdx for condition_variable
Diffstat (limited to 'src/mongo/db/commands/fsync.cpp')
-rw-r--r-- | src/mongo/db/commands/fsync.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/commands/fsync.cpp b/src/mongo/db/commands/fsync.cpp index 90418dce52d..a8b19391d3c 100644 --- a/src/mongo/db/commands/fsync.cpp +++ b/src/mongo/db/commands/fsync.cpp @@ -30,7 +30,6 @@ #include "mongo/db/commands/fsync.h" -#include <boost/thread/condition.hpp> #include <iostream> #include <sstream> #include <string> @@ -45,13 +44,14 @@ #include "mongo/db/auth/authorization_manager.h" #include "mongo/db/auth/authorization_session.h" #include "mongo/db/auth/privilege.h" -#include "mongo/db/concurrency/d_concurrency.h" +#include "mongo/db/client.h" #include "mongo/db/commands.h" +#include "mongo/db/concurrency/d_concurrency.h" +#include "mongo/db/operation_context_impl.h" #include "mongo/db/service_context.h" #include "mongo/db/storage/mmap_v1/dur.h" #include "mongo/db/storage/storage_engine.h" -#include "mongo/db/client.h" -#include "mongo/db/operation_context_impl.h" +#include "mongo/stdx/condition_variable.h" #include "mongo/util/background.h" #include "mongo/util/log.h" @@ -89,8 +89,8 @@ namespace mongo { SimpleMutex m; // protects locked var above string err; - boost::condition _threadSync; - boost::condition _unlockSync; + stdx::condition_variable_any _threadSync; + stdx::condition_variable_any _unlockSync; FSyncCommand() : Command( "fsync" ), m("lockfsync") { locked=false; pendingUnlock=false; } virtual bool isWriteCommandForConfigServer() const { return false; } |