public void Release() { var old = this.rw; if (old != null) { this.rw = null; old.ReleaseWriteLock(); } }
public WriteDisposable(ReadWriteLock rw) { this.rw = rw; }
public void Release() { var old = this.rw; if (old != null) { this.rw = null; old.ReleaseWriteLock(); } }
public WriteDisposable(ReadWriteLock rw) { this.rw = rw; }