Chapter 9

Posix threads

Abstract

Chapter 9 discusses the issues surrounding multithreaded programming using Posix threads. We begin with a description of the fork() function, which creates a new Linux process. fork() is a “heavyweight” mechanism that conceptually creates a complete copy of the calling process.

Keywords

Posix; threads; mutex; fork; mutual exclusion; condition variable; device driver

Linux is only free if your time has no value.

Jamie Zawinski

Get Linux for Embedded and Real-time Applications, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.