summaryrefslogtreecommitdiff
path: root/src/mongo/stdx
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2022-05-16 18:01:22 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-16 19:07:54 +0000
commitb01267d79d7540cd7ad2198776b2eca17eeb396c (patch)
tree2e49300d56d736da4e5410876e0e601a7c2655f8 /src/mongo/stdx
parentad4f0e0e1985f5cad098cce055074483520e8beb (diff)
downloadmongo-b01267d79d7540cd7ad2198776b2eca17eeb396c.tar.gz
SERVER-66456 remove ThreadContext
Diffstat (limited to 'src/mongo/stdx')
-rw-r--r--src/mongo/stdx/thread.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/stdx/thread.h b/src/mongo/stdx/thread.h
index 3dc84f444da..6f1e16cdeb3 100644
--- a/src/mongo/stdx/thread.h
+++ b/src/mongo/stdx/thread.h
@@ -40,7 +40,6 @@
#include <type_traits>
#include "mongo/stdx/exception.h"
-#include "mongo/util/thread_context.h"
#include "mongo/util/thread_safety_context.h"
#if defined(__linux__) || defined(__FreeBSD__)
@@ -191,7 +190,6 @@ public:
#endif
ThreadSafetyContext::getThreadSafetyContext()->onThreadCreate();
auto sigAltStackGuard = sigAltStackController.makeInstallGuard();
- ThreadContext::get(); // Eagerly create ThreadContext
return std::apply(std::move(f), std::move(pack));
}) {
}