O'Reilly logo

C++ Network Programming, Volume 1: Mastering Complexity with ACE and Patterns by Stephen D. Huston, Douglas C. Schmidt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. An Overview of Operating System Concurrency Mechanisms

Chapter Synopsis

Networked applications, particularly servers, must often process requests concurrently to meet their quality of service requirements. Chapter 5 describes general design tradeoffs related to concurrency alternatives. This chapter presents an overview of the synchronous event demultiplexing, multiprocessing, multithreading, and synchronization mechanisms available to implement those designs. We also discuss common portability and programming problems that arise when networked applications are developed using native C-level concurrency APIs.

6.1 Synchronous Event Demultiplexing

A synchronous event demultiplexer is a function supplied by an OS that waits for specified ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required