pthread [id [id ...] ]
When invoked with no arguments, this command prints information on the set of POSIX API threads currently active in the system.
If invoked with a set of ids as arguments, then just those objects are included in the information printed.
This command returns 0 on success and non-zero if an error is encountered.
This command is only available when the POSIX API is configured.
The following is an example of how to use the task
on an
application with four POSIX threads:
SHLL [/] $ pthread ID NAME PRI STATE MODES EVENTS WAITID WAITARG NOTES ------------------------------------------------------------------------------ 0b010002 Main 133 READY P:T:nA NONE 43010001 0x7b1148 0b010003 ISR 133 Wcvar P:T:nA NONE 43010003 0x7b1148 0b01000c 133 READY P:T:nA NONE 33010002 0x7b1148 0b01000d 133 Wmutex P:T:nA NONE 33010002 0x7b1148
This command is part of the monitor commands which are always available in the shell.
This command is not directly available for invocation.
Copyright © 1988-2008 OAR Corporation