Bill Greiman
Well-known member
I have posted a version of ChibiOS/RT for Teensy 3.0, AVR boards, and Due as ChibiOSBeta20121212.zip http://code.google.com/p/beta-lib/downloads/list.
It is easy to use this version in cooperative mode.
This allows using cooperative scheduling for the bulk of an application to avoid pitfalls of preemptive scheduling and still have a high priority time critical thread.
It is easy to use this version in cooperative mode.
Setting this mode disables preemption for threads with equal priority and round robin becomes cooperative. Note that higher priority threads can still preempt, the kernel is always preemptive.
This allows using cooperative scheduling for the bulk of an application to avoid pitfalls of preemptive scheduling and still have a high priority time critical thread.