From 9bb8d65d8d6c58fa325e81ad8f0d7d067a66f413 Mon Sep 17 00:00:00 2001 From: Adam Midvidy Date: Thu, 18 Jun 2015 11:18:11 -0400 Subject: SERVER-18723 boost -> stdx for condition_variable --- src/mongo/db/commands/fsync.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mongo/db/commands/fsync.cpp') 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 #include #include #include @@ -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; } -- cgit v1.2.1