Struct Synchronization.ReaderWriterLockSlimUpgradableReadLocker
A locker for an upgradable read lock on a System.Threading.ReaderWriterLockSlim that automatically releases when it is disposed. Create this with LockReadUpgradable(ReaderWriterLockSlim).
Implements
System.IDisposable
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: IPA.Utilities.Async
Assembly: IPA.Loader.dll
Syntax
public struct ReaderWriterLockSlimUpgradableReadLocker : IDisposable
Methods
| Improve this Doc View SourceUpgrade()
Creates a locker for a write lock on the System.Threading.ReaderWriterLockSlim associated with this locker, upgrading the current thread's lock.
Declaration
public Synchronization.ReaderWriterLockSlimWriteLocker Upgrade()
Returns
Type | Description |
---|---|
Synchronization.ReaderWriterLockSlimWriteLocker | a locker for the new write lock |
See Also
Explicit Interface Implementations
| Improve this Doc View SourceIDisposable.Dispose()
Declaration
void IDisposable.Dispose()
Implements
System.IDisposable