From the course: IoT Foundations: Operating Systems Fundamentals

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Multitasking

Multitasking

- [Narrator] Let's explore the concept of a task and how an operating system supports multiple tasks simultaneously. A task may have different meanings in different contexts. A task generally refers to a unit of exclusion or program. In some operating systems, a task is referred to as a process, an excluding program unit with its own resources such as memory space, and assistant handles. In other systems, a task may be referred to as a thread, which is considered a lightweight process that also has its own exclusion context and limited resources. In the RTOS, the term task or thread is often used interchangeably as RTOS focuses on managing execution units. Task's implementation is application-specific and managed to by the OS kernel to optimize system performance. For example, one task may collect the temperature data and store it in memory while another sends in that data to a cloud endpoint. The OS kernel is responsible for managing and the scheduling tasks. It allocates computing…

Contents