Search Results for

    / fm / liveswitch / AtomicMutex

    Class: AtomicMutex

    fm.liveswitch.AtomicMutex

    A managed mutex.

    Table of contents

    Constructors

    • constructor

    Methods

    • getIsLocked
    • getTypeString
    • release
    • tryLock

    Constructors

    constructor

    + new AtomicMutex(): AtomicMutex

    Creates a new instance of an AtomicMutex.

    Returns: AtomicMutex

    Defined in: Generated/TypeScript/fm.liveswitch/AtomicMutex.ts:13

    Methods

    getIsLocked

    ▸ getIsLocked(): boolean

    Gets if the mutex is locked or not.

    Returns: boolean

    Defined in: Generated/TypeScript/fm.liveswitch/AtomicMutex.ts:37


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/AtomicMutex.ts:9


    release

    ▸ release(): void

    Releases the lock.

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/AtomicMutex.ts:49


    tryLock

    ▸ tryLock(): boolean

    Tries to obtain a lock with this thread.

    Returns: boolean

    Defined in: Generated/TypeScript/fm.liveswitch/AtomicMutex.ts:61

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.14.6