[riot-notifications] [RIOT-OS/RIOT] core: Scheduler and IPC as modules (#11199)

Marian Buschsieweke notifications at github.com
Sat Mar 16 23:15:10 CET 2019


Wow! I was unaware that Arduino one ARM had that overhead. For ARM I would say RIOT won with fanfares and everything :smile:

> Once the idle thread is gone, it would be possible to vastly simplify the scheduler for the single-thread case, removing almost all of it's code but retaining the possiblity to suspend the single running thread through the usual ways.

I had a similar approach in mind: Providing a sinlge-task version of e.g. thread_sleep(), `mutex_lock()` etc. If I understood you correctly you would rather keep the layer on top of the scheduler unmodified and provide a stripped down version of the scheduler, while my first through was to provide alternative implementations of the layer on top of the scheduler.

Hmmm, in my tired head both approaches sound to be plausible. Adressing the scheduler would require less modifications once no idle thread is required any more, providing alternative implementations for the layer above would require more separate code, but does not depend.on the idle thread being removed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/11199#issuecomment-473597052
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190316/d06152a0/attachment.html>


More information about the notifications mailing list