diff options
author | Benety Goh <benety@mongodb.com> | 2015-06-03 06:45:00 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2015-06-05 10:23:49 -0400 |
commit | ed3122d7e32fe928d40a8003b2fa88c93942230b (patch) | |
tree | 013bc5e6164d54a24ebb01f397c56d90cc268b65 /src/mongo/db/repl/applier.h | |
parent | 170a9264719d3b6d40a4734db82f9651c41f2d94 (diff) | |
download | mongo-ed3122d7e32fe928d40a8003b2fa88c93942230b.tar.gz |
SERVER-18037 migrated synchronization primitives used in applier from boost:: to stdx::
Diffstat (limited to 'src/mongo/db/repl/applier.h')
-rw-r--r-- | src/mongo/db/repl/applier.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/repl/applier.h b/src/mongo/db/repl/applier.h index f89714e9dc8..43ace1dfa23 100644 --- a/src/mongo/db/repl/applier.h +++ b/src/mongo/db/repl/applier.h @@ -28,8 +28,6 @@ #pragma once -#include <boost/thread/condition.hpp> -#include <boost/thread/mutex.hpp> #include <string> #include <vector> @@ -38,7 +36,9 @@ #include "mongo/base/status_with.h" #include "mongo/bson/bsonobj.h" #include "mongo/db/repl/replication_executor.h" +#include "mongo/stdx/condition_variable.h" #include "mongo/stdx/functional.h" +#include "mongo/stdx/mutex.h" namespace mongo { namespace repl { @@ -132,9 +132,9 @@ namespace repl { CallbackFn _onCompletion; // Protects member data of this Applier. - mutable boost::mutex _mutex; + mutable stdx::mutex _mutex; - boost::condition _condition; + stdx::condition_variable _condition; // _active is true when Applier is scheduled to be run by the executor. bool _active; |