diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2022-09-19 21:43:19 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-09-19 23:21:32 +0000 |
commit | 95b09b11518fa8e63cc74da178a01932d7d134ea (patch) | |
tree | f116fde5edcd78e735eed0cba18bb80d76f4c0f8 /src/mongo/transport/service_executor_reserved.h | |
parent | f5324f56bfd410822c1ddad76515fa4cc9ea21e0 (diff) | |
download | mongo-95b09b11518fa8e63cc74da178a01932d7d134ea.tar.gz |
SERVER-69763 remove ServiceExecutor::ScheduleFlags enum
Diffstat (limited to 'src/mongo/transport/service_executor_reserved.h')
-rw-r--r-- | src/mongo/transport/service_executor_reserved.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/transport/service_executor_reserved.h b/src/mongo/transport/service_executor_reserved.h index c4a8ba65fe5..76be1d45732 100644 --- a/src/mongo/transport/service_executor_reserved.h +++ b/src/mongo/transport/service_executor_reserved.h @@ -59,14 +59,13 @@ public: Status start() override; Status shutdown(Milliseconds timeout) override; - Status scheduleTask(Task task, ScheduleFlags flags) override; + void schedule(Task task) override; size_t getRunningThreads() const override { return _numRunningWorkerThreads.loadRelaxed(); } - void runOnDataAvailable(const SessionHandle& session, - OutOfLineExecutor::Task onCompletionCallback) override; + void runOnDataAvailable(const SessionHandle& session, Task onCompletionCallback) override; void appendStats(BSONObjBuilder* bob) const override; @@ -74,7 +73,6 @@ private: Status _startWorker(); static thread_local std::deque<Task> _localWorkQueue; - static thread_local int _localRecursionDepth; static thread_local int64_t _localThreadIdleCounter; AtomicWord<bool> _stillRunning{false}; |