At times, you do not want all of one type of group or process to be in the focus set. TotalView lets you use the following three operators to manage your P/T sets:Creates a difference; that is, all members of the first set that are not also members of the second set.Creates an intersection; that is, all members of the first set that are also members of the second set.This statement creates an intersection between p3 and L2, and then creates a union between p2 and the results of the intersection operation. You can directly specify the order by using parentheses; for example:Returns a list containing the first thread in each process associated within a communicator within the named process. While process is a P/T set it is not expanded into a list of threads.Returns a list of all processes that have exited or which, while loaded, have not yet been created.The way in which you specify the P/T set argument is the same as the way that you specify a P/T set for the dfocus command. For example, watchpoint(L) returns all threads in the current lockstep group. The only operator that differs is comm, whose argument is a process.The dot operator (.), which indicates the current set, can be helpful when you are editing an existing set.The following examples clarify how you use these operators and functions. The P/T set a (all) is the argument to these operators.Shows information about all threads that are stopped at breakpoints and watchpoints. The a argument is the standard P/T set indicator for all.Shows information about all stopped threads that are not stopped at breakpoints.Shows information about all threads in the current set, as well as all threads stopped at a breakpoint.Runs thread 3 along with all other processes in the group to line 577. However, it does not run anything in process 6.
Rogue Wave Software, Inc. |
Voice: (303) 473-9118 |
rwonlinedocs@roguewave.com |