diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2022-05-16 18:01:22 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-16 19:07:54 +0000 |
commit | b01267d79d7540cd7ad2198776b2eca17eeb396c (patch) | |
tree | 2e49300d56d736da4e5410876e0e601a7c2655f8 /src/mongo/stdx | |
parent | ad4f0e0e1985f5cad098cce055074483520e8beb (diff) | |
download | mongo-b01267d79d7540cd7ad2198776b2eca17eeb396c.tar.gz |
SERVER-66456 remove ThreadContext
Diffstat (limited to 'src/mongo/stdx')
-rw-r--r-- | src/mongo/stdx/thread.h | 2 |
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)); }) { } |