October 2025
Intermediate to advanced
1048 pages
29h 35m
English
Multithreaded programs can take advantage of the fact that the threads share global memory in the heap and data segments. It’s easy to be lulled into thinking that they’re relatively easy to design and write because it’s so easy to share that data in memory. However, multithreaded programs require us to have a different mindset during their design and development than sequential programs do because this sharing of data comes at a cost. Specifically, we have to be ever mindful of the consequent race conditions and synchronization issues tied to this benefit. To solve these problems, we need tools for controlling access ...
Read now
Unlock full access