Starting Processes and Threads

To start a process, go to the Process Window and select a Go command from the Group, Process, or Thread pulldowns.

After you enter a Go command, TotalView decides what it will run based on the current thread. It uses this thread to decide what other threads it should run. For example, if you enter Group > Workers > Go, TotalView continues all threads in the workers group associated with this thread.

The most often used commands are Group > Go and Process > Go. The Group > Go command creates and starts this process and all other processes in the multiprocess program (control group). It resumes execution of this process and the execution of all processes in the control group if the process:

  • Is not being held
     
  • Already exists and is stopped, or
     
  • Is at a breakpoint.

Issuing Group > Go on a process that's already running starts the other members of the control group.

Process > Go creates and starts this process. It resumes execution if the process is not being held, already exists and is stopped, or is at a breakpoint. Starting a process causes all threads in the process to resume execution unless the thread is held.

Note:   Thread > Go is disabled if asynchronous thread control is not available.

For a single-process program, Process > Go and Group > Go are equivalent. For a single-threaded process, Process > Go and Thread > Go are equivalent.

Note:   If TotalView is holding a process or thread, these commands will not start the process or threads. See Holding and Releasing Processes and Threads.

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