MonitorEventMutexOpen Class

This class represents a successful call to RtOpenMutex.

Inheritance Hierarchy

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

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 MonitorEventMutexOpen : MonitorEvent

 

The MonitorEventMutexOpen class exposes the following members.

Constructors

 

Name Description

Public method

MonitorEventMutexOpen

Default constructor.

Properties

  Name Description

Public property

Abandoned

True if the mutex is abandoned, false otherwise.

Public property

Count

The acquisition count of this mutex: non-zero if locked, zero if not locked.

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 RtOpenMutex.

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

Name

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

Public property

OwnerProcessID

The owner's process ID if the mutex is locked, otherwize zero.

Public property

OwnerThreadID

The owner's thread ID if the mutex is locked, otherwise zero.

Public property

Priority

The priority of the mutex.

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 mutex 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 mutex.

Methods

  Name Description

Public method

ToString

Returns a string representation of this monitoring event.

(Overrides MonitorEvent.ToString.)

See Also: