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 14

Synchronization

In the previous chapter, we went through the basic concepts and the widely used terminology of concurrency. In this chapter, we are going to focus on issues that might appear as a result of using concurrency in a program. Like the previous chapter, we won't deal with any C source code; instead, we'll place our focus solely on the concepts and the theoretical background around concurrency issues and resolving them.

As part of this chapter, we're going to learn about:

  • Concurrency-related issues, namely, race conditions, and data races: We will discuss the effect of having a shared state among multiple tasks and how simultaneous access to the shared variable can lead to issues.
  • Concurrency control techniques used to ...
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