0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
mongodb/db/concurrency.h
2009-02-23 18:05:38 -05:00

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() );
}
}