You create and manage multiple threads using combinations of the 4Test statements parallel, spawn, rendezvous, and critical.
In 4Test, all running threads, which are those not blocked, have the same priority with respect to one another. 4Test executes one instruction for a thread, then passes control to the next thread. The first thread called is the first run, and so on.
All threads run to completion unless they are deadlocked. 4Test detects script deadlock and raises an exception.