fm.liveswitch.ManagedAutoResetEvent Class Reference

Managed AutoResetEvent. More...

Public Member Functions

 ManagedAutoResetEvent ()
 Creates a new instance. More...
 
void set ()
 Signal to release all threads. More...
 
void waitOne ()
 Blocks until signalled. More...
 
boolean waitOne (int millisecondsTimeout)
 Blocks until signalled or until timeout. More...
 

Detailed Description

Managed AutoResetEvent.

Constructor & Destructor Documentation

◆ ManagedAutoResetEvent()

fm.liveswitch.ManagedAutoResetEvent.ManagedAutoResetEvent ( )

Creates a new instance.

Member Function Documentation

◆ set()

void fm.liveswitch.ManagedAutoResetEvent.set ( )

Signal to release all threads.

◆ waitOne() [1/2]

void fm.liveswitch.ManagedAutoResetEvent.waitOne ( )

Blocks until signalled.

◆ waitOne() [2/2]

boolean fm.liveswitch.ManagedAutoResetEvent.waitOne ( int  millisecondsTimeout)

Blocks until signalled or until timeout.

Parameters
millisecondsTimeoutLength of time to block for (in ms).