Ejemplo n.º 1
0
 public void Dispose()
 {
     if (this.m_Rwl == null)
     {
         return;
     }
     if (this.m_Reader)
     {
         this.m_Rwl.ReleaseReader();
     }
     else
     {
         this.m_Rwl.ReleaseWriter();
     }
     this.m_Rwl = null;
 }
Ejemplo n.º 2
0
 internal SoaLockReleaser(SoaLockCallback callback, SoaReadWriteLock rwl, bool reader, object state)
     : this(callback, rwl, reader)
 {
     this.m_State = state;
 }
Ejemplo n.º 3
0
 internal SoaLockReleaser(SoaLockCallback callback, SoaReadWriteLock rwl, bool reader, object state, AsyncResultNoReturn ar)
     : this(callback, rwl, reader, state)
 {
     this.m_AsyncResult = ar;
 }
Ejemplo n.º 4
0
 internal SoaLockReleaser(SoaLockCallback callback, SoaReadWriteLock rwl, bool reader)
 {
     this.m_Callback = callback;
     this.m_Rwl = rwl;
     this.m_Reader = reader;
 }