Skip to Main Content
Extreme C
book

Extreme C

by Kamran Amini
October 2019
Intermediate to advanced content levelIntermediate to advanced
822 pages
20h 45m
English
Packt Publishing
Content preview from Extreme C

Chapter 18

Process Synchronization

This chapter continues our discussion in the previous chapter, Process Execution, and our main focus will be on process synchronization. Control mechanisms in multi-process programs are different from the control techniques we met in multi-threaded programs. It is not just the memory which differs; there are other factors that you cannot find in a multi-threaded program, and they exist in a multi-process environment.

Despite threads that are bound to a process, processes can live freely on any machine, with any operating system, located anywhere within a network as big as the internet. As you might imagine, things become complicated. It will not be easy to synchronize a number of processes in such a distributed ...

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

Effective C

Effective C

Robert C. Seacord
Modern C

Modern C

Jens Gustedt

Publisher Resources

ISBN: 9781789343625Supplemental Content