The CCS Real Time Operating System (RTOS) allows a PIC® microcontroller to define and run regularly scheduled tasks. This is accomplished by a dispatcher built at compile time through the preprocessor directives to define tasks. This provides a cooperative multi-tasking RTOS. However, due to the practical limitations of the PIC, it does not offer preemptive scheduling.
In the manual/help file, see the preprocessor directives #USE RTOS and #TASK as well as the RTOS built-in functions.
Note: RTOS was released in version 3.20 of PCW or PCWH. If you want to update your compiler please call 262-522-3500 x35 to purchase maintenance or access your account and purchase online.