12-11-2016 10:50 AM
In the TestStand course (Developing test applications) and in the document When to Run a Sequence in a New Execution vs. in a New Thread it is said that one reason to run a new execution instead of a new thread is:
"When you run a sequence in a new thread you cannot run the sequence with a process model entry point."
What do they mean? Using the SequentialModel.seq, you can clearly run the same sequence in separate threads, as confirmed by the call stack. You can even do it directly from the Process model.
Any additional information would be appreciated.
12-12-2016 02:40 AM
An execution always has at least one thread; however, multiple threads can be collected internally in one execution.
An execution which uses a process model execution entry point has a dedicated report object. A thread does NOT have a report object.
Use case:
In parallel testing (parallel/batch) each socket requires a dedicated report for the UUTs which are tested there. Hence, each socket will be a separate execution.
Specific test procedures within a single UUT can be parallelized; however, it is not necessarily required to have these as a separate report. You would chose a multiple thread setup here.
12-14-2016 12:58 AM