From bc11369435ca51e2ff6897433d00f6b909f6a25f Mon Sep 17 00:00:00 2001 From: Ben Caimano Date: Tue, 17 Sep 2019 23:22:19 +0000 Subject: SERVER-42165 Replace uses of stdx::mutex with mongo::Mutex --- src/mongo/executor/connection_pool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/executor/connection_pool.h') diff --git a/src/mongo/executor/connection_pool.h b/src/mongo/executor/connection_pool.h index 196e99014b7..f46c3c23dfa 100644 --- a/src/mongo/executor/connection_pool.h +++ b/src/mongo/executor/connection_pool.h @@ -35,7 +35,7 @@ #include "mongo/executor/egress_tag_closer.h" #include "mongo/executor/egress_tag_closer_manager.h" -#include "mongo/stdx/mutex.h" +#include "mongo/platform/mutex.h" #include "mongo/stdx/unordered_map.h" #include "mongo/transport/session.h" #include "mongo/transport/transport_layer.h" @@ -255,7 +255,7 @@ private: std::shared_ptr _controller; // The global mutex for specific pool access and the generation counter - mutable stdx::mutex _mutex; + mutable Mutex _mutex = MONGO_MAKE_LATCH("ConnectionPool::_mutex"); PoolId _nextPoolId = 0; stdx::unordered_map> _pools; -- cgit v1.2.1