Skip to Content
Embedded C Programming
book

Embedded C Programming

by Mark Siegesmund
September 2014
Beginner to intermediate
424 pages
10h 4m
English
Newnes
Content preview from Embedded C Programming
Chapter 23

Multitasking

Abstract

This chapter introduces the concept of multiple concurrent tasks in a single processor. An overview of the different kinds of operating systems is presented with advantages and disadvantages of each on a PIC® microcontroller.

A deterministic dispatcher type of real-time operating system (RTOS) is used for the example programs. The primitive RTOS function calls in C are all taught in this chapter, with examples of their proper use. Data passing between tasks and sharing global data in a safe fashion are covered in this chapter.

Examples and exercises are for the popular PIC® microcontroller manufactured by Microchip.

Keywords

RTOS

Deterministic

Dispatcher

Semaphore

Operating system

Imagine having two ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical C Programming

Practical C Programming

B. M. Harwani

Publisher Resources

ISBN: 9780128013144