Chapter 9

High-Level Synchronization Tools

Abstract

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 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.