Search Results for

    Show / Hide Table of Contents

    Class ManagedCondition

    A managed condition.

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

    Methods

    Halt()

    Releases the lock on an object and blocks the current thread until it reacquires the lock.

    Declaration
    public void Halt()

    Halt(Int32)

    Releases the lock on an object and blocks the current thread until it reacquires the lock.

    Declaration
    public bool Halt(int millisecondsTimeout)
    Parameters
    Type Name Description
    System.Int32 millisecondsTimeout

    The number of milliseconds to wait before the thread enters the ready queue.

    Returns
    Type Description
    System.Boolean

    Pulse()

    Notifies a thread in the waiting queue of a change in the locked object's state.

    Declaration
    public void Pulse()

    PulseAll()

    Notifies all waiting threads of a change in the object's state.

    Declaration
    public void PulseAll()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0