Search Results for

    Show / Hide Table of Contents

    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 Source

    Upgrade()

    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
    Synchronization

    Explicit Interface Implementations

    | Improve this Doc View Source

    IDisposable.Dispose()

    Declaration
    void IDisposable.Dispose()

    Implements

    System.IDisposable

    Extension Methods

    ReflectionUtil.SetField<T, U>(T, String, U)
    ReflectionUtil.GetField<U, T>(T, String)
    ReflectionUtil.SetProperty<T, U>(T, String, U)
    ReflectionUtil.GetProperty<U, T>(T, String)
    ReflectionUtil.InvokeMethod<U, T>(T, String, Object[])

    See Also

    Synchronization
    LockReadUpgradable(ReaderWriterLockSlim)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX