Search Results for

    Show / Hide Table of Contents

    Class AtomicMutex

    A managed mutex.

    Inheritance
    System.Object
    AtomicMutex
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class AtomicMutex : object

    Constructors

    AtomicMutex()

    Creates a new instance of an AtomicMutex.

    Declaration
    public AtomicMutex()

    Properties

    IsLocked

    Gets if the mutex is locked or not.

    Declaration
    public bool IsLocked { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Release()

    Releases the lock.

    Declaration
    public void Release()

    TryLock()

    Tries to obtain a lock with this thread.

    Declaration
    public bool TryLock()
    Returns
    Type Description
    System.Boolean
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0