dworker

Adds or removes a thread from a workers group

Format:

dworker { number | boolean }

Arguments:

number

If positive, marks the thread of interest as a worker thread by inserting it into the workers group.

boolean

If true, marks the thread of interest as a worker thread by inserting it into the workers group. If false, mark the thread as being 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 thread of interest as a nonworker thread by removing it from the workers group. If number is true or is a positive value, this command marks the thread of interest as a worker thread by inserting it in the workers group.

Note that 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:

You may find the following aliases useful:

Alias
Definition
Meaning
wof
{dworker false}
Removes the focus thread from the workers group.
wot
{dworker true}
Inserts the focus thread into the workers group.

 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0