Threads and Processes
ReplayEngine runs one thread at a time, and it decides which thread will run in a multi-threaded or multi-process program. In record mode, ReplayEngine saves state information for each thread as it executes.
The order in which threads originally execute cannot be changed when you are in replay mode. In replay mode, all actions that occur must be in the same order as previously occurred.
If you need to control the way threads execute, use the TotalView asynchronous threading commands while in record mode. Using these commands you can:
• Single-step a process or lockstep group.
• Hold threads so they do not run.
If you are in replay mode, you cannot hold a thread or a process as they run in the same order as they ran originally.