MonitorEventSemaphoreOpen Class

This class represents a successful call to RtOpenSemaphore.

Inheritance Hierarchy

System.Object
  IntervalZero.MaxRT.wRTOS.Monitor.MonitorEvent
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSemaphoreOpen

Namespace:  IntervalZero.MaxRT.wRTOS.Monitor
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.0)

Syntax

Copy
public class MonitorEventSemaphoreOpen : MonitorEvent

 

The MonitorEventSemaphoreOpen class exposes the following members.

Constructors

 

Name Description

Public method

MonitorEventSemaphoreOpen

Default constructor.

Properties

  Name Description

Public property

CurrentCount

The current count of the semaphore.

Public property

ErrorMsg

If a problem was encountered during parsing of this event, this property references a string containing an error message, otherwise this property is null.

(Inherited from MonitorEvent.)

Public property

EventProcessID

This is the process ID of the process that generated this event. This ID might NOT be the ID of the process to which this event applies, because some events are generated from system processes about activity performed by user processes.

(Inherited from MonitorEvent.)

Public property

EventThreadID

This is the thread ID of the thread that generated this event. This ID might NOT be the ID of the thread to which this event applies, because some events are generated from system threads about activity performed by user threads.

(Inherited from MonitorEvent.)

Public property

Handle

The handle returned by RtOpenSemaphore.

Public property

Kind

This is the kind of the monitoring event. See enumeration IntervalZero.MaxRT.wRTOS.Monitor.MF_EVENT_KIND for the various kinds of monitoring events.

(Inherited from MonitorEvent.)

Public property

MaximumCount

The maximum count of the semaphore.

Public property

Name

The name of the semaphore if it has one, otherwise the empty string.

Public property

Processor

This is the processor number of the processor that generated this event.

(Inherited from MonitorEvent.)

Public property

ReferenceCount

The reference count of the wRTOS semaphore object.

Public property

TimeStampCounter

This is the value of the Time Stamp Counter (TSC) on the processor where this event was generated at the time this event was generated.

(Inherited from MonitorEvent.)

Public property

UniqueID

This is a unique identifier of a wRTOS Subsystem object associated with this event. If no unique ID was available when this event was generated, this property will be zero. Each subclass of this class has a different meaning for this property. See MonitorEvent for descriptions of the possible identifiers.

(Inherited from MonitorEvent.)

Public property

WaitingThreadCount

The number of threads waiting on the semaphore.

Methods

  Name Description

Public method

ToString

Returns a string representation of this monitoring event.

(Overrides MonitorEvent.ToString.)

See Also: