示例#1
0
            public void Release()
            {
                var old = this.rw;

                if (old != null)
                {
                    this.rw = null;
                    old.ReleaseWriteLock();
                }
            }
示例#2
0
 public WriteDisposable(ReadWriteLock rw)
 {
     this.rw = rw;
 }