MonitorEventMutexCreate Class

This class represents creation of a real-time mutex object using RtCreateMutex. Note that an unnamed real-time mutex object is used to implement real-time critical sections, so this event will also be generated by a successful call to InitializeCriticalSeciton.

Inheritance Hierarchy

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

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

 

The MonitorEventMutexCreate class exposes the following members.

Constructors

 

Name Description

Public method

MonitorEventMutexCreate

Default constructor.

Properties

  Name Description

Public property

Abandoned

True if this mutex is abandoned, false otherwise.

Public property

Count

The acquisition count of this mutex (0 if unlocked, 1 if 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 first handle created for the mutex.

Public property

InitiallyLocked

True if true this mutex is locked on creation, false otherwise.

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

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

Public property

OwnerProcessID

The process ID of the process that has this mutex locked.

Public property

OwnerThreadID

The thread ID of the thread that has this mutex locked.

Public property

Priority

The priority of this 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 this 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 to lock this mutex.

Methods

  Name Description

Public method

ToString

Returns a string representation of this monitoring event.

(Overrides MonitorEvent.ToString.)

See Also: