diff options
author | Adam Midvidy <amidvidy@gmail.com> | 2015-06-17 10:27:13 -0400 |
---|---|---|
committer | Adam Midvidy <amidvidy@gmail.com> | 2015-06-17 13:32:39 -0400 |
commit | 449e0f2b47e32060433cb6f68d967ea53c8573d1 (patch) | |
tree | 6e857f03a636b34ad8710e0b3e35a9115523483b /src/mongo/dbtests/documentsourcetests.cpp | |
parent | cbc69e7dcb875b35e161875317bca701b48c770c (diff) | |
download | mongo-449e0f2b47e32060433cb6f68d967ea53c8573d1.tar.gz |
SERVER-18723 boost -> stdx for mutex, unique_lock, and lock_guard
Diffstat (limited to 'src/mongo/dbtests/documentsourcetests.cpp')
-rw-r--r-- | src/mongo/dbtests/documentsourcetests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/documentsourcetests.cpp b/src/mongo/dbtests/documentsourcetests.cpp index 07e4d2f840b..8713b8cd177 100644 --- a/src/mongo/dbtests/documentsourcetests.cpp +++ b/src/mongo/dbtests/documentsourcetests.cpp @@ -287,12 +287,12 @@ namespace DocumentSourceTests { public: PendingValue( int initialValue ) : _value( initialValue ) {} void set( int newValue ) { - boost::lock_guard<boost::mutex> lk( _mutex ); + stdx::lock_guard<stdx::mutex> lk( _mutex ); _value = newValue; _condition.notify_all(); } void await( int expectedValue ) const { - boost::unique_lock<boost::mutex> lk( _mutex ); + stdx::unique_lock<stdx::mutex> lk( _mutex ); while( _value != expectedValue ) { _condition.wait( lk ); } |