30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 29: Step 3: Creating a<br />

Process using exec()<br />

Creating Groups<br />

Step 3 The first process uses the exec() function to create a second process. (See<br />

Figure 29.)<br />

� Control group: The group is unchanged.<br />

� Share group: <strong>TotalView</strong> creates a second share group with the process<br />

created by the exec() function as a member. <strong>TotalView</strong> removes this process<br />

from the first share group.<br />

� Workers group: Both threads are in the workers group.<br />

� Lockstep group: There are no lockstep groups because the threads are<br />

running.<br />

Step 4 The first process hits a break point.<br />

� Control group: The group is unchanged.<br />

� Share group: The groups are unchanged.<br />

� Workers group: The group is unchanged.<br />

� Lockstep group: <strong>TotalView</strong> creates a lockstep group whose member is<br />

the thread of the current process. (In this example, each thread is its<br />

own lockstep group.)<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!