Open topic with navigation
Setting the Priority Inversion Protocol
RTX thread scheduling behavior settings provide the option of selecting a priority inversion protocol. Priority inversion protocols are explained in the RTX Application Development Guide in the section on Thread Scheduling.
To set the Priority inversion protocol:
- Open the
RTX Properties Control Panel and click the System
tab.
- Click Settings to display the Behavior Settings dialog box.
- Select a priority inversion protocol:
- Priority promotion with tiered demotion - Elevates a low priority thread until it has released the mutex that is currently blocking a higher priority thread.
- Priority promotion with limited demotion - Elevates a low priority thread until it has released all mutexes it owns.
- Disable - Does not allow the operating system to interfere with priorities set by the application.
The default priority inversion protocol is Priority promotion with tiered demotion.
- Click OK.
- Restart RTX for your changes to take effect.