SeqCallNewThreadOptions

Use the following constants with the SequenceCallModule.NewThreadOptions property to specify the options to apply when calling a subsequence in a separate thread. Use the bitwise-AND operator to determine whether any of these options are set when obtaining the property value. Use the bitwise-OR operator to set more than one option when setting the property value.

  • SeqCallThread_InitiallySuspended –(Value: 0x2) Specifies that TestStand creates the new thread in a suspended state. You can call the Thread.Resume method to start the thread.
  • SeqCallThread_UseSingleThreadedApartment –(Value: 0x4) Specifies to initialize the concurrency model of the thread as single-threaded apartment. By default, TestStand initializes new executions and threads to use the multithreaded apartment model. A thread must use the single-threaded apartment model if the thread creates or launches a dialog box that contains ActiveX controls.
  • SeqCallThread_WaitForThreadCompletion –(Value: 0x1) Specifies that the calling sequence waits for the thread it launches to complete before the calling sequence returns.

See Also

SequenceCallModule.NewThreadOptions

Thread.Resume