summaryrefslogtreecommitdiff
path: root/src/mongo/s/server.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/s/server.cpp
parentdd759f777875702f9618ed9379c5379247cdb7d1 (diff)
downloadmongo-149d8c8f83017db23b104da1f020d0a994fb79f9.tar.gz
SERVER-18723 boost -> stdx for thread
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r--src/mongo/s/server.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp
index 4c1b9d810fd..a9c0f1857fb 100644
--- a/src/mongo/s/server.cpp
+++ b/src/mongo/s/server.cpp
@@ -32,8 +32,6 @@
#include "mongo/s/server.h"
-#include <boost/thread/thread.hpp>
-
#include "mongo/base/init.h"
#include "mongo/base/initializer.h"
#include "mongo/base/status.h"
@@ -62,8 +60,8 @@
#include "mongo/platform/process_id.h"
#include "mongo/s/balance.h"
#include "mongo/s/catalog/legacy/catalog_manager_legacy.h"
-#include "mongo/s/client/sharding_connection_hook.h"
#include "mongo/s/client/shard_registry.h"
+#include "mongo/s/client/sharding_connection_hook.h"
#include "mongo/s/config.h"
#include "mongo/s/cursors.h"
#include "mongo/s/grid.h"
@@ -71,6 +69,7 @@
#include "mongo/s/request.h"
#include "mongo/s/version_mongos.h"
#include "mongo/stdx/memory.h"
+#include "mongo/stdx/thread.h"
#include "mongo/util/admin_access.h"
#include "mongo/util/cmdline_utils/censor_cmdline.h"
#include "mongo/util/concurrency/thread_name.h"
@@ -265,7 +264,7 @@ static ExitCode runMongosServer( bool doUpgrade ) {
new NoAdminAccess()));
dbWebServer->setupSockets();
- boost::thread web(stdx::bind(&webServerListenThread, dbWebServer));
+ stdx::thread web(stdx::bind(&webServerListenThread, dbWebServer));
web.detach();
}