Struct Synchronization.ReaderWriterLockSlimUpgradableReadLocker
A locker for an upgradable read lock on a ReaderWriterLockSlim that automatically releases when it is disposed. Create this with LockReadUpgradable(ReaderWriterLockSlim).
Implements
Inherited Members
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 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()