/// <summary> /// Returns a read and write lock /// </summary> public WriteLock Write() { return(WriteLock.Acquire(this, -1)); }
/// <summary> /// Returns a read and write lock /// </summary> /// <exception cref="System.TimeoutException"/> public WriteLock Write(int timeout) { return(WriteLock.Acquire(this, timeout)); }
/// <summary> /// Returns a read and write lock /// </summary> /// <exception cref="System.TimeoutException"/> public WriteLock Write(int millisecondsTimeout) { return(WriteLock.Acquire(this, millisecondsTimeout)); }