Chapter 9

High-Level Synchronization Tools


The high-level thread synchronization utilities incorporated in the vath library are presented in this chapter. These utilities are high-level interfaces to synchronization patterns built with the basic libraries: Boolean locks providing event synchronization services, barriers implementing collective synchronizations among threads; ordered memory writes and reads, queues for producer-consumer synchronization patterns, and reader-writer locks providing refined mutual exclusion in some specific contexts. The usage, scope, and impact of these utilities is discussed in detail, and numerous examples are provided. This discussion is designed to significantly contribute to sharpening the understanding ...

Get Shared Memory Application Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.