0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00
mongodb/db/concurrency.h

16 lines
207 B
C
Raw Normal View History

2009-02-24 00:05:38 +01:00
/* concurrency.h
mongod concurrency rules & notes will be placed here.
*/
#pragma once
namespace mongo {
inline void requireInWriteLock() {
assert( dbMutexInfo.isLocked() );
}
}