/*virtual*/ void MongoMMF::close() { #if defined(_DURABLE) { if( !testIntent && cmdLine.dur ) { dur::closingFileNotification(); } privateViews.remove(_view_private); if( debug ) { ourReadViews.remove(_view_readonly); } } #endif _view_write = _view_private = _view_readonly = 0; MemoryMappedFile::close(); }
/*virtual*/ void MongoMMF::close() { { if( cmdLine.dur && _view_write/*actually was opened*/ ) { dur::closingFileNotification(); } privateViews.remove(_view_private); } _view_write = _view_private = 0; MemoryMappedFile::close(); }
/*virtual*/ void MongoMMF::close() { { if( cmdLine.dur && _view_write/*actually was opened*/ ) { if( debug ) log() << "closingFileNotication:" << filename() << endl; dur::closingFileNotification(); } privateViews.remove(_view_private); } _view_write = _view_private = 0; MemoryMappedFile::close(); }