chapter  6
8 Preemption-Threshold Change
Pages 3

If the variable status contains the value TX_SUCCESS, the information was successfully retrieved.

6.8 Preemption-Threshold Change The preemption-threshold of a thread can be established when it is created or during run-time. The service tx_thread_preemption_change changes the preemption-threshold of an existing thread. The preemption-threshold prevents preemption of a thread by other threads that have priorities equal to or less than the preemption-threshold value. Figure 6.12 shows how the preemption-threshold value can be changed so that preemption by any other thread is prohibited.