[En-Nut-Discussion] Realtime Nut/OS
Thiago A. Corrêa
thiago.correa at gmail.com
Thu Mar 5 19:35:21 CET 2009
Hi,
On Thu, Mar 5, 2009 at 8:57 AM, Harald Kipp <harald.kipp at egnite.de> wrote:
>
> Now the idea, which btw. is not new as it has been posted to this
> mailing list many years ago (not by me): What about an additional
> scheduler running preemptive tasks, one of which is Nut/OS? I could
> think of a new thread type RTTHREAD(). So far I have no idea, if that
> could be done without any impact on the code size of pure cooperative
> applications.
>
If we have both, then we will need to ensure that all of the Nut/OS
API is reentrant, while having it as ( cooperative xor preemptive ) we
could push the locking of the non-reentrant calls to the app code.
I hope I'm making some sense in here.
Btw, FreeRTOS allows you to choose preemptive or cooperative, not both.
Cheers,
Thiago A. Correa
More information about the En-Nut-Discussion
mailing list