Threads and Processes
When recording, ReplayEngine runs and records one thread at a time. In a multi-threaded or multi-process program, normally ReplayEngine decides the order in which threads are run and recorded. ReplayEngine runs all threads in succession and saves state information for each thread as it executes.
If you need to control the way threads execute, use the TotalView asynchronous threading commands while in record mode. With these commands you can:
Single-step a process or lockstep group.
Hold threads so they do not run.
In replay mode, all actions must occur in the same order as recorded. This implies that you cannot influence the order in which threads execute, and you cannot hold a thread.