RtEventWaitHandle Class

Represents a thread synchronization event.

Inheritance Hierarchy

System.Object
  IntervalZero.MaxRT.wRTOS.RtApi.Threading.RtWaitHandle
    IntervalZero.MaxRT.wRTOS.RtApi.Threading.RtEventWaitHandle

Namespace:  IntervalZero.MaxRT.wRTOS.RtApi.Threading
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public class RtEventWaitHandle : RtWaitHandle

 

The RtEventWaitHandle class exposes the following members.

Constructors

  Name Description

Public method

RtEventWaitHandle (Boolean, EventResetMode)

Initializes a newly created EventWaitHandle object, specifying whether the wait handle is initially signaled, and whether it resets automatically or manually.

Public method

RtEventWaitHandle (Boolean, EventResetMode, String)

Initializes a newly created EventWaitHandle object, specifying whether the wait handle is initially signaled, whether it resets automatically or manually, and the name of a system synchronization event.

Public method

RtEventWaitHandle (Boolean, EventResetMode, String, Boolean)

Initializes a newly created EventWaitHandle object, specifying whether the wait handle is initially signaled, whether it resets automatically or manually, the name of a system synchronization event, and a bool variable whose value after the call indicates whether the named system event was created.

Properties

  Name Description

Public property

SafeWaitHandle

Gets or sets the native operating system handle.

(Inherited from RtWaitHandle.)

Methods

  Name Description

Public method

Close

Releases all resources held by the current RtSafeWaitHandle.

(Inherited from RtWaitHandle.)

Public method

Dispose

Releases all of the resources used by the RtWaitHandle.

(Inherited from RtWaitHandle.)

Protected method

Dispose (Boolean)

Releases the unmanaged resources used by the RtWaitHandle, and optionally releases the managed resources.

(Inherited from RtWaitHandle.)

Public method Static member

OpenExisting

Opens an existing named synchronization event.

Public method

Pulse

Sets the state of the event to signaled, allowing one waiting thread to proceed.

Public method

Reset

Sets the state of the event to nonsignaled, causing threads to block.

Public method

Set

Sets the state of the event to signaled, allowing one or more waiting threads to proceed.

Public method

WaitOne

When overridden in a derived class, blocks the current thread until the current WaitHandle receives a signal.

(Inherited from RtWaitHandle.)

Public method

WaitOne (Int32)

Blocks the current thread until the current System.Threading.WaitHandle receives a signal.

(Inherited from RtWaitHandle.)

Public method

WaitOne (TimeSpan)

Blocks the current thread until the current System.Threading.WaitHandle receives a signal.

(Inherited from RtWaitHandle.)

Public method

WaitOne (Int32, Boolean)

When overridden in a derived class, blocks the current thread until the current WaitHandle receives a signal, using 32-bit signed integer to measure the time interval and specifying whether to exit the synchronization domain before the wait.

(Inherited from RtWaitHandle.)

Public method

WaitOne (TimeSpan, Boolean)

Blocks the current thread until the current System.Threading.WaitHandle receives a signal.

(Inherited from RtWaitHandle.)

See Also: