Home |
RTKernel-32 Programming Manual Multitasking, Real-Time, and RTKernel-32 Alternate APIs for RTKernel-32 Preemptive or Cooperative Multitasking? Priorities Starting Objects' Methods as Tasks Performance and Interrupt Response Times Task Switches in Cooperative Scheduling Using the FPU in Interrupt Handlers |
PrioritiesPriorities have the sole purpose of guaranteeing good response times of time-critical tasks, even when other, less critical tasks run or could run. Priorities should not be used to synchronize tasks. It is never certain that no other task runs while the task with the highest priority appears to be ready for running. If, for example, this task performs a heap manager call such as malloc or free, it could be blocked by the kernel if some other task has not yet completed its call. Synchronization among tasks can only be achieved using explicit inter-task communication. Starting Objects' Methods as Tasks
|