예제 #1
0
파일: FASTER.cs 프로젝트: zheng1748/FASTER
 /// <summary>
 /// Dispose FASTER instance
 /// </summary>
 public void Dispose()
 {
     base.Free();
     threadCtx.Dispose();
     prevThreadCtx.Dispose();
     hlog.Dispose();
 }
예제 #2
0
        /// <summary>
        /// Clean up epoch table
        /// </summary>
        public void Dispose()
        {
            tableHandle.Free();
            tableAligned = null;
            tableRaw     = null;

            numEntries         = 0;
            CurrentEpoch       = 1;
            SafeToReclaimEpoch = 0;

            threadEntryIndex.Dispose();
        }
예제 #3
0
 /// <summary>
 /// Dispose FASTER instance - legacy items
 /// </summary>
 private void LegacyDispose()
 {
     threadCtx?.Dispose();
 }