The os_sys_init_prio function initializes and starts the
Real-Time eXecutive (RTX) kernel.
The task argument points to the task to start after the
kernel is initialized.
The priority argument specifies the priority for the
task. The default task priority is 1. Priority 0 is reserved
for the Idle Task. If a value of 0 is specified for the
priority, it is automatically replaced with a value of 1.
Priority 255 is also reserved.
The os_sys_init_prio function is in the RL-RTX library. The
prototype is defined in rtl.h.
Note
The os_sys_init_prio function must be called from the
main C function.
The RTK kernel uses the default stack size, which is defined in
rtx_config.c, for the task.
Priority value of 255 represents the most important task.
Return Value
The os_sys_init_prio function does not return. Program
execution continues with the task identified by the task
argument.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.