Technical Support
On-Line Manuals
RL-ARM User's Guide (MDK v4)
#include <rtl.h> void os_sys_init ( void (*task)(void) ); /* Task to start */
The os_sys_init function initializes and starts the Real-Time eXecutive (RTX) kernel.
The task argument points to the task function to start after the kernel is initialized. The RTX kernel gives the task a default priority of 1.
The os_sys_init function is in the RL-RTX library. The prototype is defined in rtl.h.
Note
The os_sys_init function does not return. Program execution continues with the task identified by the task argument.
os_sys_init_prio, os_sys_init_user
#include <rtl.h> void main (void) { os_sys_init (task1); /* start the kernel */ while(1); /* will never come here */ }
Related Knowledgebase Articles
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
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.