/// <summary> /// Creates the key for a lock. /// </summary> /// <param name="asyncReaderWriterLock">The lock to release. May not be <c>null</c>.</param> internal UpgradeableReaderKey(AsyncReaderWriterLock asyncReaderWriterLock) { _asyncReaderWriterLock = asyncReaderWriterLock; CachedUpgradeKeyTask = Task.FromResult <IDisposable>(new UpgradeKey(this)); }
public DebugView(AsyncReaderWriterLock rwl) { _rwl = rwl; }
/// <summary> /// Creates the key for a lock. /// </summary> /// <param name="asyncReaderWriterLock">The lock to release. May not be <c>null</c>.</param> public WriterKey(AsyncReaderWriterLock asyncReaderWriterLock) { _asyncReaderWriterLock = asyncReaderWriterLock; }