Release() private method

private Release ( ) : void
return void
示例#1
0
        public void Unlock(LockHandle handle)
        {
            lock (this) {
                if (openHandles != null)
                {
                    var index = openHandles.IndexOf(handle);
                    if (index >= 0)
                    {
                        openHandles.RemoveAt(index);
                    }
                }

                handle.Release();
            }
        }
示例#2
0
 public void Unlock(LockHandle handle)
 {
     lock (this) {
         handle.Release();
     }
 }
示例#3
0
文件: Locker.cs 项目: deveel/deveeldb
        public void Unlock(LockHandle handle)
        {
            lock (this) {
                if (openHandles != null) {
                    var index = openHandles.IndexOf(handle);
                    if (index >= 0)
                        openHandles.RemoveAt(index);
                }

                handle.Release();
            }
        }
示例#4
0
 public void Unlock(LockHandle handle)
 {
     lock (this) {
         handle.Release();
     }
 }