diff options
Diffstat (limited to 'src/mongo/transport/service_executor_synchronous.cpp')
-rw-r--r-- | src/mongo/transport/service_executor_synchronous.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/transport/service_executor_synchronous.cpp b/src/mongo/transport/service_executor_synchronous.cpp index 24d99bc2208..c75655da1f5 100644 --- a/src/mongo/transport/service_executor_synchronous.cpp +++ b/src/mongo/transport/service_executor_synchronous.cpp @@ -38,7 +38,6 @@ #include "mongo/stdx/thread.h" #include "mongo/transport/service_entry_point_utils.h" #include "mongo/transport/service_executor_task_names.h" -#include "mongo/transport/thread_idle_callback.h" #include "mongo/util/log.h" #include "mongo/util/processinfo.h" @@ -99,9 +98,6 @@ Status ServiceExecutorSynchronous::schedule(Task task, * was greater than the number of available cores. */ if (flags & ScheduleFlags::kMayYieldBeforeSchedule) { - if ((_localThreadIdleCounter++ & 0xf) == 0) { - markThreadIdle(); - } if (_numRunningWorkerThreads.loadRelaxed() > _numHardwareCores) { stdx::this_thread::yield(); } |