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/util/concurrency/ticketholder.h | |
parent | 6a0a21214dd96663c899cb8f2562d6121351ed3c (diff) | |
download | mongo-11bb071e91461b1f8e40b9b15ddf3b9e1a2d23d1.tar.gz |
SERVER-36644 remove AtomicWord typedefs
Diffstat (limited to 'src/mongo/util/concurrency/ticketholder.h')
-rw-r--r-- | src/mongo/util/concurrency/ticketholder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/concurrency/ticketholder.h b/src/mongo/util/concurrency/ticketholder.h index 0865e36a430..4b1ffcb5ce0 100644 --- a/src/mongo/util/concurrency/ticketholder.h +++ b/src/mongo/util/concurrency/ticketholder.h @@ -87,12 +87,12 @@ private: mutable sem_t _sem; // You can read _outof without a lock, but have to hold _resizeMutex to change. - AtomicInt32 _outof; + AtomicWord<int> _outof; stdx::mutex _resizeMutex; #else bool _tryAcquire(); - AtomicInt32 _outof; + AtomicWord<int> _outof; int _num; stdx::mutex _mutex; stdx::condition_variable _newTicket; |