Starting Processes and Threads
To start a process, select a Go command from the Group, Process, or Thread pulldown menus.
After you select a Go command, TotalView determines what to execute based on the current thread. It uses this thread, which is called the Thread of Interest (TOI), to decide other threads that should run. For example, if you select Group > Go, TotalView continues all threads in the current group that are associated with this thread.
The commands you will use most often are
Group > Go and
Process > Go. The
Group > Go command creates and starts the current process and all other processes in the multi-process program. There are some limitations, however. TotalView only resumes a process if the following are true:
The process is not being held.
The process already exists and is stopped.
The process is at a breakpoint.
Using a
Group > Go command on a process that’s already running starts the other members of the process’s
control group.
If the process hasn’t yet been created, a Go command creates and starts it. Starting a process means that all threads in the process resume executing unless you are individually holding a thread.
NOTE: TotalView disables the
Thread > Go command if
asynchronous thread control is not available. If you enter a thread-level command in the CLI when asynchronous thread controls aren’t available, TotalView tries to perform an equivalent action. For example, it continues a process instead of a thread.
For a single-process program, the Process > Go and Group > Go commands are equivalent. For a single-threaded process, the Process > Go and Thread > Go commands are equivalent.