Ulteriori informazioni
Illustrations. Tables. Foreword. Preface. I. ACE BASICS. 1. Introduction to ACE. A History of ACE. ACE's Benefits. ACE's Organization. Patterns, Class Libraries, and Frameworks. Porting Your Code to Multiple Operating Systems. Smoothing the Differences among C++ Compilers. Using Both Narrow and Wide Characters. Where to Find More Information and Support. Summary. 2. How to Build and Use ACE in Your Programs. A Note about ACE Versions. Guide to the ACE Distribution. How to Build ACE. How to Include ACE in Your Applications. How to Build Your Applications. Summary. 3. Using the ACE Logging Facility. Basic Logging and Tracing. Enabling and Disabling Logging Severities. Customizing the ACE Logging Macros. Redirecting Logging Output. Using Callbacks. The Logging Client and Server Daemons. The LogManager Class. Runtime Configuration with the ACE Logging Strategy. Summary. 4. Collecting Runtime Information. Command Line Arguments and ACE_Get_Opt. Accessing Configuration Information. Building Argument Vectors. Summary. 5. ACE Containers. Container Concepts. Sequence Containers. Associative Containers. Allocators. Summary. II. INTERPROCESS COMMUNICATION. 6. Basic TCP/IP Socket Use. A Simple Client. Adding Robustness to a Client. Building a Server. Summary. 7. Handling Events and Multiple I/O Streams. Overview of the Reactor Framework. Handling Multiple I/O Sources. Signals. Notifications. Timers. Using the Acceptor-Connector Framework. Reactor Implementations. Summary. 8. Asynchronous I/O and the ACE Proactor Framework. Why Use Asynchronous I/O?. How to Send and Receive Data. Establishing Connections. The ACE_Proactor Completion Demultiplexer. Using Timers. Other I/O Factory Classes. Combining the Reactor and Proactor Frameworks. Summary. 9. Other IPC Types. Interhost IPC with UDP/IP. Intrahost Communication. Summary. III. PROCESS AND THREAD MANAGEMENT. 10. Process Management. Spawning a New Process. Using the ACE_Process_Manager. Synchronization Using ACE_Process_Mutex. Summary. 11. Signals. Using Wrappers. Event Handlers. Guarding Critical Sections. Signal Management with the Reactor. Summary. 12. Basic Multithreaded Programming. Getting Started. Basic Thread Safety. Intertask Communication. Summary. 13. Thread Management. Types of Threads. Priorities and Scheduling Classes. Thread Pools. Thread Management Using ACE_Thread_Manager. Signals. Thread Start-Up Hooks. Cancellation. Summary. 14. Thread Safety and Synchronization. Protection Primitives. Thread Synchronization. Thread-Specific Storage. Summary. 15. Active Objects. The Pattern. Using the Pattern. Summary. 16. Thread Pools...