Chapter 4. ACE Reactor Implementations

CHAPTER SYNOPSIS

This chapter describes the design and use of several implementations of the ACE_Reactor interface described in Chapter 3. These implementations support a diverse collection of operating system synchronous event demultiplexing mechanisms, including select(), WaitForMultipleObjects(), XtAppMainLoop(), and /dev/poll. We explain the motivations for, and capabilities provided by, the most common reactor implementations available in the ACE Reactor framework. We also illustrate how to use three different implementations of the ACE_Reactor to improve our logging server example. In addition, we show the range of concurrency models supported by these ACE_Reactor implementations.

4.1 Overview

Get C++ Network Programming, Volume 2: Systematic Reuse with ACE and Frameworks 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.