The _NTO_TRACE_THREAD class includes events related to state changes for threads.
Event | traceprinter label | IDE label | Emitted when a thread: |
---|---|---|---|
_NTO_TRACE_THCONDVAR | THCONDVAR | Condvar | Enters the CONDVAR state |
_NTO_TRACE_THCREATE | THCREATE | Create Thread | Is created |
_NTO_TRACE_THDEAD | THDEAD | Dead | Enters the DEAD state |
_NTO_TRACE_THDESTROY | THDESTROY | Destroy Thread | Is destroyed |
_NTO_TRACE_THINTR | THINTR | Interrupt | Enters the INTERRUPT state |
_NTO_TRACE_THJOIN | THJOIN | Join | Enters the JOIN state |
_NTO_TRACE_THMUTEX | THMUTEX | Mutex | Enters the MUTEX state |
_NTO_TRACE_THNANOSLEEP | THNANOSLEEP | NanoSleep | Enters the NANOSLEEP state |
_NTO_TRACE_THNET_REPLY | THNET_REPLY | NetReply | Enters the NET_REPLY state |
_NTO_TRACE_THNET_SEND | THNET_SEND | NetSend | Enters the NET_SEND state |
_NTO_TRACE_THREADY | THREADY | Ready | Enters the READY state |
_NTO_TRACE_THRECEIVE | THRECEIVE | Receive | Enters the RECEIVE state |
_NTO_TRACE_THREPLY | THREPLY | Reply | Enters the REPLY state |
_NTO_TRACE_THRUNNING | THRUNNING | Running | Enters the RUNNING state |
_NTO_TRACE_THSEM | THSEM | Semaphore | Enters the SEM state |
_NTO_TRACE_THSEND | THSEND | Send | Enters the SEND state |
_NTO_TRACE_THSIGSUSPEND | THSIGSUSPEND | SigSuspend | Enters the SIGSUSPEND state |
_NTO_TRACE_THSIGWAITINFO | THSIGWAITINFO | SigWaitInfo | Enters the SIGWAITINFO state |
_NTO_TRACE_THSTACK | THSTACK | Stack | Enters the STACK state |
_NTO_TRACE_THSTOPPED | THSTOPPED | Stopped | Enters the STOPPED state |
_NTO_TRACE_THWAITCTX | THWAITCTX | WaitCtx | Enters the WAITCTX state |
_NTO_TRACE_THWAITPAGE | THWAITPAGE | WaitPage | Enters the WAITPAGE state |
_NTO_TRACE_THWAITTHREAD | THWAITTHREAD | WaitThread | Enters the WAITTHREAD state |
If your system includes the adaptive partitioning scheduler module, the data for these events includes the partition ID and scheduling flags (e.g. AP_SCHED_BILL_AS_CRIT). For more information, see the Adaptive Partitioning User's Guide.
For more information about thread states, see "Thread life cycle" in the QNX Neutrino Microkernel chapter of the System Architecture guide.