/// <summary> /// Returns a reader lock that can be elevated to a write lock /// </summary> /// <exception cref="System.TimeoutException"/> public ReadLock Read(int timeout) { return(ReadLock.Acquire(this, timeout)); }
/// <summary> /// Returns a reader lock that can be elevated to a write lock /// </summary> public ReadLock Read() { return(ReadLock.Acquire(this, -1)); }
/// <summary> /// Returns a reader lock that can be elevated to a write lock /// </summary> /// <exception cref="System.TimeoutException"/> public ReadLock Read(int millisecondsTimeout) { return(ReadLock.Acquire(this, millisecondsTimeout)); }