dworker
Adds or removes a thread from a workers group
Format
dworker{ number | boolean }
Arguments
number
If positive, marks the thread of interest (TOI) as a worker thread by inserting it into the workers group.
boolean
If true, marks the TOI as a worker thread by inserting it into the workers group. If false, marks the thread as a nonworker thread by removing it from the workers group.
Description
The dworker command inserts or removes a thread from the workers group.
If number is 0 or false, this command marks the TOI as a nonworker thread by removing it from the workers group. If number is true or is a positive value or boolean is true, this command marks the TOI as a worker thread by inserting it in the workers group.
Moving a thread into or out of the workers group has no effect on whether the thread is a manager thread. Manager threads are threads that are created by the pthreads package to manage other threads; they never execute user code, and cannot normally be controlled individually. TotalView automatically inserts all threads that are not manager threads into the workers group.
Command alias
Alias | Definition | Description |
wof | {dworker false} | Removes the focus thread from the workers group |
wot | {dworker true} | Inserts the focus thread into the workers group |
Related Topics