Chapter 6. The ACE Task Framework

CHAPTER SYNOPSIS

This chapter describes the design and use of the ACE Task framework. This framework helps to enhance the modularity and extensibility of concurrent object-oriented networked applications. The ACE Task framework forms the basis of common concurrency patterns, such as Active Object and Half-Sync/Half-Async [POSA2]. After discussing the motivation and usage of the framework’s classes, we apply the ACE Task framework to enhance the concurrency and scalability of our networked logging service.

6.1 Overview

The ACE Task framework provides powerful and extensible object-oriented concurrency capabilities that can spawn threads in the context of an object, as well as transfer and queue messages between ...

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.