Exemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public WriteLock(ReadWriteLock rwLock, bool allowReads)
 {
     m_lock       = rwLock;
     m_allowReads = allowReads;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public ReadLock(ReadWriteLock rwLock)
 {
     m_lock = rwLock;
 }