riot-rs-runqueue
: support multiple currently running threads
#244
Labels
riot-rs-runqueue
: support multiple currently running threads
#244
riot-rs-runqueue
was designed under the assumption that there is only a single "head" of the runqueue (seeget_next
,advance
, etc.).In case of multicore, there may be more than one currently running thread.
The two (simplest) alternatives for supporting this are:
After some research and looking into other embedded OSes, I would propose we go for 1), because:
The runqueue therefore needs to be refactored for global scheduling, so that
get_next
returns a different thread for each core.The text was updated successfully, but these errors were encountered: