summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop_test.cpp
diff options
context:
space:
mode:
authorAdam Midvidy <amidvidy@gmail.com>2015-06-17 14:29:48 -0400
committerAdam Midvidy <amidvidy@gmail.com>2015-06-18 13:09:18 -0400
commit149d8c8f83017db23b104da1f020d0a994fb79f9 (patch)
treeb3de559193c25708fca27234f8d498f08d444ac9 /src/mongo/db/curop_test.cpp
parentdd759f777875702f9618ed9379c5379247cdb7d1 (diff)
downloadmongo-149d8c8f83017db23b104da1f020d0a994fb79f9.tar.gz
SERVER-18723 boost -> stdx for thread
Diffstat (limited to 'src/mongo/db/curop_test.cpp')
-rw-r--r--src/mongo/db/curop_test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/curop_test.cpp b/src/mongo/db/curop_test.cpp
index 1f4f58153eb..0edbde43d31 100644
--- a/src/mongo/db/curop_test.cpp
+++ b/src/mongo/db/curop_test.cpp
@@ -28,8 +28,6 @@
#include "mongo/platform/basic.h"
-#include <boost/thread/thread.hpp>
-
#include "mongo/base/init.h"
#include "mongo/db/client.h"
#include "mongo/db/curop.h"
@@ -37,6 +35,7 @@
#include "mongo/db/service_context.h"
#include "mongo/db/service_context_noop.h"
#include "mongo/stdx/memory.h"
+#include "mongo/stdx/thread.h"
#include "mongo/unittest/unittest.h"
namespace mongo {
@@ -65,7 +64,7 @@ namespace mongo {
}
MONGO_INITIALIZER(CurOpTest)(InitializerContext* context) {
- boost::thread t(timeTrackerSetup);
+ stdx::thread t(timeTrackerSetup);
// Wait for listener thread to start tracking time.
while (Listener::getElapsedTimeMillis() == 0) {