81805129f8
Preemption was supposed to be supported, but it had no means of safely updating the state of a thread, so mt_exec() could fail to resume a preempted thread. mt_exec() is allowed to be called only from the main Contiki thread, so the mt threads passed to it may be only ready or exited, not running. Consequently, there is no need for a distinction between the ready and running states, so merge them as a started state, which avoids having to update the state of a thread upon preemption. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> |
||
---|---|---|
.. | ||
cfs | ||
ctk | ||
dev | ||
lib | ||
loader | ||
net | ||
sys | ||
contiki-default-conf.h | ||
contiki-lib.h | ||
contiki-net.h | ||
contiki-version.h | ||
contiki.h |