Printer FriendlyEmail Article Link

iTest: In iTest how to synchronize multiple threads


Spirent iTest


In iTest we can synchronize multiple threads execution by using signal and waitthread actions.


 There are 2 threads (A and B) working simultaneously.

During A is executed, we expect B is also executed.

When A is finished, we expect B is also finished.

 There are two better ways to synchronize multiple threads:

 1. Using signal actions (signal.fftc)

2. Using waitthread (sync_threads.fftc)

Please find the attached testcase(s) (signal.fftc and sync_threads.fftc) for reference



Product : iTest Enterprise