diff options
Diffstat (limited to 'src/mongo/stdx/thread.h')
-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)); }) { } |