diff options
author | Amirsaman Memaripour <amirsaman.memaripour@mongodb.com> | 2020-03-12 17:05:05 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-24 04:32:03 +0000 |
commit | ef75364ada70eaf4a096ed07adfeb3175abd719b (patch) | |
tree | 51fdaba76229875086d6e1c32889da230f92b9e4 /src/mongo/util/periodic_runner_impl.h | |
parent | 30bd61a92cd4c8d6dd5588b59b9bdf4a0cd3c7d8 (diff) | |
download | mongo-ef75364ada70eaf4a096ed07adfeb3175abd719b.tar.gz |
SERVER-46841 Make PeriodicRunner interrupt blocked operations on stop
Diffstat (limited to 'src/mongo/util/periodic_runner_impl.h')
-rw-r--r-- | src/mongo/util/periodic_runner_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/util/periodic_runner_impl.h b/src/mongo/util/periodic_runner_impl.h index 4a89b4b6a05..369fb19882c 100644 --- a/src/mongo/util/periodic_runner_impl.h +++ b/src/mongo/util/periodic_runner_impl.h @@ -79,6 +79,7 @@ private: ClockSource* _clockSource; ServiceContext* _serviceContext; + Client* _client; stdx::thread _thread; SharedPromise<void> _stopPromise; |