[En-Nut-Discussion] Realtime Nut/OS

Nathan Moore nategoose at gmail.com
Thu Mar 5 16:24:05 CET 2009


>From other threads' perspective these would look like a mix between an ISR
and another thread, so they might have to protect more data from these real
time threads with critical sections.  When a real time thread yielded you
would need to make sure that the previously executing thread got the CPU
back rather than reschedule since normal (already existing) threads expect
other normal threads not to start up while they are still running.Also if
more than one real time thread wants to run at the same time they still
fight for CPU.
For most things using a timer ISR handler that makes itself interruptible
would work unless it needs to sleep.

Nathan


More information about the En-Nut-Discussion mailing list