Example #1
0
 public ExclusiveReaderLock(AsyncReaderWriterLock host)
 {
     _host = host;
 }
 public WriterLockSource(AsyncReaderWriterLock host)
 {
     _reentrancyCount = 1;
     _host            = host;
     _tcs             = new TaskCompletionSource <IAsyncReaderWriterLockToken>();
 }
Example #3
0
 public ExclusiveReaderLockSource(AsyncReaderWriterLock host, ExclusiveReaderLock erLock) : base(host, false)
 {
     ExclusiveReaderLock = erLock;
 }
 public ReaderLockSource(AsyncReaderWriterLock host)
 {
     _host    = host;
     _rootTcs = new TaskCompletionSource <bool>();
 }