mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
There is one and only one MongoMutex instance. Not sure what I was thinking...
This commit is contained in:
parent
a076624f2e
commit
ddbf7adfac
@ -215,12 +215,11 @@ namespace mongo {
|
||||
}
|
||||
|
||||
inline void MongoMutex::_releasingWriteLock() {
|
||||
if (this == &dbMutex)
|
||||
dur::releasingWriteLock();
|
||||
dur::releasingWriteLock();
|
||||
}
|
||||
|
||||
inline void MongoMutex::_acquiredWriteLock() {
|
||||
if( this == &dbMutex && _remapPrivateViewRequested ) {
|
||||
if( _remapPrivateViewRequested ) {
|
||||
dur::REMAPPRIVATEVIEW();
|
||||
dassert( !_remapPrivateViewRequested );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user