/// <summary> /// Occurs when committing the following data to the disk. /// This will copy any pending data to the disk in a manner that /// will protect against corruption. /// </summary> /// <param name="header"></param> public void CommitChanges(FileHeaderBlock header) { header.IsReadOnly = true; m_disk.CommitChanges(header); Thread.MemoryBarrier(); m_header = header; }