Chapter 8. The ACE Process Wrapper Facades

Chapter Synopsis

This chapter describes the ACE wrapper facades that encapsulate OS multiprocessing mechanisms with portable C++ classes. It illustrates the wide variation in multiprocessing facilities among popular operating systems and the techniques ACE uses to abstract portable concepts into useful classes. Finally, it shows how to apply these classes in a multiprocess version of our networked logging service.

8.1 Overview

OS support for multiprocessing is important for networked applications because it helps to

Enable concurrency by allowing the OS to schedule and run separate processes on different CPUs

Increase robustness by using MMU hardware to protect separate process address spaces from ...

Get C++ Network Programming, Volume 1: Mastering Complexity with ACE and Patterns now with O’Reilly online learning.

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