summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2019-01-04 12:19:37 -0500
committerBilly Donahue <billy.donahue@mongodb.com>2019-01-07 12:08:23 -0500
commit11bb071e91461b1f8e40b9b15ddf3b9e1a2d23d1 (patch)
tree7037865f9bf4445fb3295ca7ce72f4182f012554 /src/mongo/shell
parent6a0a21214dd96663c899cb8f2562d6121351ed3c (diff)
downloadmongo-11bb071e91461b1f8e40b9b15ddf3b9e1a2d23d1.tar.gz
SERVER-36644 remove AtomicWord typedefs
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/bench.h4
-rw-r--r--src/mongo/shell/dbshell.cpp2
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;