diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2019-01-04 12:19:37 -0500 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2019-01-07 12:08:23 -0500 |
commit | 11bb071e91461b1f8e40b9b15ddf3b9e1a2d23d1 (patch) | |
tree | 7037865f9bf4445fb3295ca7ce72f4182f012554 /src/mongo/shell | |
parent | 6a0a21214dd96663c899cb8f2562d6121351ed3c (diff) | |
download | mongo-11bb071e91461b1f8e40b9b15ddf3b9e1a2d23d1.tar.gz |
SERVER-36644 remove AtomicWord typedefs
Diffstat (limited to 'src/mongo/shell')
-rw-r--r-- | src/mongo/shell/bench.h | 4 | ||||
-rw-r--r-- | src/mongo/shell/dbshell.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/shell/bench.h b/src/mongo/shell/bench.h index 322494539d3..6f30a3b76fc 100644 --- a/src/mongo/shell/bench.h +++ b/src/mongo/shell/bench.h @@ -453,8 +453,8 @@ private: unsigned _numUnstartedWorkers; unsigned _numActiveWorkers; - AtomicUInt32 _isShuttingDown; - AtomicUInt32 _isCollectingStats; + AtomicWord<unsigned> _isShuttingDown; + AtomicWord<unsigned> _isCollectingStats; }; /** diff --git a/src/mongo/shell/dbshell.cpp b/src/mongo/shell/dbshell.cpp index 4f49ca027cc..9306a719b6f 100644 --- a/src/mongo/shell/dbshell.cpp +++ b/src/mongo/shell/dbshell.cpp @@ -89,7 +89,7 @@ using namespace mongo; string historyFile; bool gotInterrupted = false; bool inMultiLine = false; -static AtomicBool atPrompt(false); // can eval before getting to prompt +static AtomicWord<bool> atPrompt(false); // can eval before getting to prompt namespace { const std::string kDefaultMongoHost = "127.0.0.1"s; |