summaryrefslogtreecommitdiff
path: root/db/concurrency.h
blob: 3e4c7a7c8327181e3a8688a1f7079f7dd6303abc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* concurrency.h

   mongod concurrency rules & notes will be placed here.
*/

#pragma once

namespace mongo {

inline void requireInWriteLock() { 
    assert( dbMutexInfo.isLocked() );
}

}