RtWaitHandle Class

Encapsulates operating system–specific objects that wait for exclusive access to shared resources.

Inheritance Hierarchy

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

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 RtWaitHandle : IDisposable

 

The RtWaitHandle class exposes the following members.

Properties

  Name Description

Public property

SafeWaitHandle

Gets or sets the native operating system handle.

Methods

  Name Description

Public method

Close

Releases all resources held by the current RtSafeWaitHandle.

Public method

Dispose

Releases all of the resources used by the RtWaitHandle.

Protected method

Dispose (Boolean)

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

Public method Static member

WaitAll (RtSafeWaitHandle)

Waits for any of the elements in the specified array to receive a signal.

Public method Static member

WaitAll (RtSafeWaitHandle, Int32, Boolean)

Waits for any of the elements in the specified array to receive a signal.

Public method Static member

WaitAny (IntPtr)

Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to measure the time interval.

Public method Static member

WaitAny (RtSafeWaitHandle)

Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to measure the time interval.

Public method Static member

WaitAny (IntPtr, Int32, Boolean)

Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to measure the time interval.

Public method Static member

WaitAny (RtSafeWaitHandle, Int32, Boolean)

Waits for any of the elements in the specified array to receive a signal, using a 32-bit signed integer to measure the time interval.

Public method

WaitOne

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

Public method

WaitOne (Int32)

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

Public method

WaitOne (TimeSpan)

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

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.

Public method

WaitOne (TimeSpan, Boolean)

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

See Also: