Пример #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;
 }