Threading Threading
Threading Threading
DocFX + Singulink = ♥

Search Results for

    Method EnterGuard

    EnterGuard()

    Enters the lock and returns a guard that leaves it when it is disposed.

    Declaration
    public LeafLockGuard EnterGuard()
    Returns
    Type Description
    LeafLockGuard
    Remarks

    If another thread holds the lock, the call waits until it is free.

    Exceptions
    Type Condition
    LockRecursionException

    The current thread already holds the lock.

    © Singulink. All rights reserved.