Multi-thread support

Runtime Tracing for C, C++

Runtime Tracing can be configured for use in a multi-threaded environment such as Posix, Solaris and Windows.

Multi-thread mode protects Target Deployment Port global variables against concurrent access. This causes a significant increase in Target Deployment Port size as well as an impact on performance. Therefore, select this option only when necessary.

Multi thread settings:

These settings are ignored if you are not using a multi-threaded environment. To change these settings, use the Build Settings > Target Deployment Port build dialog box.

To access the multi-thread build settings:

  1. In the Project Explorer, click the Open Settings... button.

  2. Select one or several nodes in the Configuration pane.

  3. Select Build > Target Deployment Port build.

  4. Set the Multi-threaded application and Maximum number of threads settings.

  5. Select Runtime Analysis > Runtime Tracing > Runtime options.

  6. Set Record and display thread info to Yes or No.

  7. When you have finished, click OK to validate the changes.

Related Topics

Runtime Tracing Control Settings | Build settings | About Configuration Settings