Everything

vsta_sch

Outline
Forced scheduler activation.
C format
 ER      vsta_sch (void);
Parameter(s)
None.
Explanation
This service call explicitly forces the RI850V4 scheduler to activate. If a scheduling request has been kept pending, task switching may therefore occur.
Note The RI850V4 provides this service call as a function to activate a scheduler from a task for which preempt acknowledge status disable is defined during configuration.
Return value
Macro
Value
Description
E_OK
0
Normal completion.
E_CTX
-25
Context error.
- This service call was issued from a non-task.
- This service call was issued in the CPU locked state.
- This service call was issued in the dispatching disabled state.