Multi-tasking can increase the scalability of your Contiki-NG applications. This chapter will explore how to work with concurrency in Contiki-NG applications.
Introduction to concurrency
Concurrency approach in Contiki-NG
Threading
Task scheduling
Introduction to Concurrency
Concurrency is the ability to perform more than one task at the same time. Let’s say you have a WSN mote with multiple sensor devices. You want to sense through all the sensors at the same time.
We illustrate a concurrency in Figure 3-1. A process can ...