Thought you guys may be interested, this RTOS (qkernel) went open source. It's pretty decent being tickless and such.
Thoughts?
Thoughts?
I wrote one for the Atari ST (68000) long ago as learning experience for systems programming using Modula-2. I learned a lot about the 68000 architectures process switching methods but without a real virtual machine or true memory mapping and protection like a PIC32 it's a lot of extra complexity for little gain because most controller sized programs can use variable 'state' instead of message-passing or classic IPC type methods to control execution threads. If the controllers functions are closely-coupled in time and data, creating an abstraction of independent execution beyond ISR based tasking just seems clunky for simple programs.Cooperative multitasking is better suited for small processors but is a bit harder to write code for. Still it does not feel all that useful to me. For teaching I wrote a cooperative multitasking setup (task switcher) with blocking on resources etc. It is fun to play with but there always seems to be an easier solution then using it. I did hear from one developer in China who is using it.