0 Members and 1 Guest are viewing this topic.
Does Contiki support preemptive multi-threading? Yes. While the Contiki kernel is based on event driven cooperative multitasking, an additional library provides preemptive multi-threading. The reason for not basing the kernel on a preemptive multi-threading model is that it would increase the complexity not only of the operating system, but also of the applications that would run under it. By providing preemptive multi-threading as a library, only programs that explicitly require such functionality will need to pay the extra price.