Nested Sections - Synchronized Sections
- Updated2025-07-23
- 1 minute(s) read
Nested sections can occur within the same sequence or when you call a subsequence inside a synchronized section and the subsequence also contains a synchronized section. You must exit nested sections in the reverse order in which you entered the sections.
When you nest one section inside another, TestStand honors the inner section only when the type of the outer section is serial or parallel. TestStand ignores the inner section when the type of the outer section is One Thread Only. For example, when you nest one serial section in another serial section, each thread that enters the outer serial section proceeds only until the Enter step of the inner section and then waits for the other threads to reach the same Enter step of the inner section before completing the inner section.