diff options
-rw-r--r-- | src/mongo/executor/network_interface_impl.h | 2 | ||||
-rw-r--r-- | src/mongo/executor/network_interface_mock.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/executor/network_interface_impl.h b/src/mongo/executor/network_interface_impl.h index 55c25fe8e57..b2f64c6a971 100644 --- a/src/mongo/executor/network_interface_impl.h +++ b/src/mongo/executor/network_interface_impl.h @@ -160,7 +160,7 @@ private: bool _isExecutorRunnable = false; // Flag indicating when this interface is being shut down (because shutdown() has executed). - std::atomic<bool> _inShutdown; + AtomicWord<bool> _inShutdown; // Interface for running remote commands RemoteCommandRunnerImpl _commandRunner; diff --git a/src/mongo/executor/network_interface_mock.h b/src/mongo/executor/network_interface_mock.h index b785ece5a97..4a9173f1954 100644 --- a/src/mongo/executor/network_interface_mock.h +++ b/src/mongo/executor/network_interface_mock.h @@ -291,7 +291,7 @@ private: bool _hasStarted; // (M) // Set to true by "shutDown()". - std::atomic<bool> _inShutdown; // (M) + AtomicWord<bool> _inShutdown; // (M) // Next date that the executor expects to wake up at (due to a scheduleWorkAt() call). Date_t _executorNextWakeupDate; // (M) |