From bf5bef47a8e6937b4e0d2c9df3fde3470bdc72c9 Mon Sep 17 00:00:00 2001 From: Ben Caimano Date: Fri, 1 Nov 2019 17:24:53 +0000 Subject: SERVER-42165 Replace uses of stdx::mutex with mongo::Mutex --- src/mongo/executor/connection_pool_tl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mongo/executor/connection_pool_tl.cpp') diff --git a/src/mongo/executor/connection_pool_tl.cpp b/src/mongo/executor/connection_pool_tl.cpp index e2f7711cca7..c3816eab43c 100644 --- a/src/mongo/executor/connection_pool_tl.cpp +++ b/src/mongo/executor/connection_pool_tl.cpp @@ -56,7 +56,7 @@ void TLTypeFactory::shutdown() { // Stop any attempt to schedule timers in the future _inShutdown.store(true); - stdx::lock_guard lk(_mutex); + stdx::lock_guard lk(_mutex); log() << "Killing all outstanding egress activity."; for (auto collar : _collars) { @@ -65,12 +65,12 @@ void TLTypeFactory::shutdown() { } void TLTypeFactory::fasten(Type* type) { - stdx::lock_guard lk(_mutex); + stdx::lock_guard lk(_mutex); _collars.insert(type); } void TLTypeFactory::release(Type* type) { - stdx::lock_guard lk(_mutex); + stdx::lock_guard lk(_mutex); _collars.erase(type); type->_wasReleased = true; -- cgit v1.2.1