mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
16 lines
207 B
C++
16 lines
207 B
C++
/* concurrency.h
|
|
|
|
mongod concurrency rules & notes will be placed here.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace mongo {
|
|
|
|
inline void requireInWriteLock() {
|
|
assert( dbMutexInfo.isLocked() );
|
|
}
|
|
|
|
}
|
|
|