Chapter 10. The ACE Synchronization Wrapper Facades

Chapter Synopsis

This chapter describes the ACE wrapper facades that encapsulate OS synchronization mechanisms with portable C++ classes. We show a series of related examples to illustrate how these classes can be applied in practice. In addition, we describe how the core ACE synchronization wrapper facades can be combined to emulate synchronization mechanisms that aren't supported natively.

10.1 Overview

Hardware characteristics can affect the behavior of OS threading mechanisms significantly. For example, multiple threads can run in parallel on separate processors. On a uniprocessor, only one thread is active at any point in time, though threads may be scheduled in and out of execution, ...

Get C++ Network Programming, Volume 1: Mastering Complexity with ACE and Patterns 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.