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