MonitorEventThreadCreate Class

This class represents creation of a real-time thread. This happens when a real-time process calls CreateThread or when a real-time proxy thread is created for a thread in a Windows appliation that has loaded RTAPI.DLL.

Inheritance Hierarchy

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

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

 

The MonitorEventThreadCreate class exposes the following members.

Constructors

 

Name Description

Public method

MonitorEventThreadCreate

Default constructor.

Properties

  Name Description

Public property

AffinedProcessor

The processor to which the newly create thread is affined.

Public property

Argument

The argument passed to the newly created thread's start function.

Public property

CurrentProcessID

The process ID of the process that owns the newly created thread.

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

Flags

The internal flags of the newly created thread.

Public property

Handle

The first handle created for the thread. wRTOS internal system threads (such as proxy threads that perform work on behalf of Windows processes linked to RTAPI.DLL and the thread created by RtCreateTimer) do not have handles. In those cases, this field will be zero.

Public property

IsProxyThread

This is true if the thread is a proxy thread, false otherwise. This field's value is defined only when the value of property MonitorEvent.Version is greater than or equal to 1001.

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

Priority

The newly created thread's initial priority.

Public property

ProcessAffinityMask

The process affinity mask of the process that owns the newly created thread.

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 internal thread object for the newly created thread.

Public property

StackSize

The size of the newly created thread's stack.

Public property

StartFunction

The address of the start function of the newly created thread.

Public property

State

The state of the newly created thread.

Public property

SuspendCount

The newly created thread's suspend count.

Public property

ThreadID

The thread ID of the newly created thread. A proxy thread has the thread ID of the Windows process for which it is a proxy.

Public property

TimeQuantum

The newly created thread's time quantum.

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

Methods

  Name Description

Public method

ToString

Returns a string representation of this monitoring event.

(Overrides MonitorEvent.ToString.)

See Also: