Understanding Group Widths
TotalView behavior when stepping at group width depends on whether the Group of Interest (GOI) is a process group or a thread group. In the following lists, goal means the place at which things should stop executing. For example, if you selected a step command, the goal is the next line. If you selected a run to command, the goal is the selected line.
The actions that TotalView performs on the GOI are dependent on the type of process group that is the focus, as follows:
• Process group—TotalView examines the group, and identifies which of its processes has a thread stopped at the same location as the TOI (a matching process). TotalView runs these matching processes until one of its threads arrives at the goal. When this happens, TotalView stops the thread’s process. The command finishes when it has stopped all of these matching processes.
• Thread group—TotalView runs all processes in the
control group. However, as each thread arrives at the goal, TotalView only stops that thread; the rest of the threads in the same process continue executing. The command finishes when all threads in the GOI arrive at the goal. When the command finishes, TotalView stops all processes in the control group.
TotalView doesn’t wait for threads that are not in the same share group as the TOI, since they are executing different code and can never arrive at the goal.