Beispiel #1
0
 public HistoryLock(MyProfiler profiler, FastResourceLock historyLock)
 {
     m_profiler = profiler;
     m_lock = historyLock;
     m_lock.AcquireExclusive();
     m_profiler.OnHistorySafe();
 }
Beispiel #2
0
 public HistoryLock(MyProfiler profiler, FastResourceLock historyLock)
 {
     m_profiler = profiler;
     m_lock     = historyLock;
     m_lock.AcquireExclusive();
     m_profiler.OnHistorySafe();
 }
Beispiel #3
0
 public void Dispose()
 {
     m_profiler.OnHistorySafe();
     m_lock.ReleaseExclusive();
     m_lock = null;
 }