Table of Contents Previous Next
Logo
Chapter 27
Copyright © 2003-2008 ZeroC, Inc.

Chapter 27 

Threads and Concurrency with C++

27.1 Chapter Overview

This chapter presents the C++ threading and signal handling abstractions that are provided by Ice. (For other language mappings, Ice uses the built-in threading and synchronization facilities.) We briefly describe how to use each of the available synchronization primitives (mutexes and monitors). We then cover how to create, control, and destroy threads. The threading discussion concludes with a brief example that shows how to create a thread-safe producer-consumer application that uses several threads. Finally, we introduce a portable abstraction for handling signals and signal-like events.
Table of Contents Previous Next
Logo