30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Types of Threads<br />

Figure 20: Four Processors on<br />

a Network<br />

Figure 21: Threads (again)<br />

When there are problems working this way, traditional debuggers and solutions<br />

don’t work. <strong>TotalView</strong>, on the other hand, organizes this mass of executing<br />

procedures for you and lets you distinguish between threads and processes<br />

that the operating system uses from those that your program uses.<br />

Types of Threads<br />

All threads aren’t the same. The following figure shows a program with<br />

three threads. (See Figure 21.)<br />

A thread<br />

Assume that all of these threads are user threads; that is, they are threads<br />

that perform some activity that you’ve programmed.<br />

20 Chapter 2: About Threads, Processes, and Groups

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

Saved successfully!

Ooh no, something went wrong!