Articoli correlati a Multi-Threaded Programming in C++

Multi-Threaded Programming in C++ - Rilegato

Walmsley, Mark

 
9781852331467: Multi-Threaded Programming in C++

Sinossi

This is a clear introduction to the basic concepts of multi-threadingcomplemented by a detailed description of the multi-threading facilities available under the UNIX and Windows operating systems. The implementation mechanisms are hidden within C++ classes, which then provide standardized interfaces to the functionality. With traditional single-threaded programming, objects serve as passive repositories of functionality that are invoked by external codemulti-threading allows objects to become active entities that independently perform their own processing.

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

Contenuti

Introduction: Single-Threaded Programming. Multi-Threaded Programming. Thread Synchronization. Programming in C++. Multi-Threading Implementations. Summary.- Threads: Thread Scheduling. Thread Environment. The THREAD Class. The Hello Program. UNIX Implementation. Windows Implementation. Summary.- Mutexes: Why Synchronize? Mutex Mechanics. The MUTEX Class. Using Mutexes. Atomic Operations. The ATOMIC Class. Inter-Thread Communication. State Transitions. Snapshots. UNIX Implementation. Windows Implementation. Summary.- Events: Event Basics. The EVENT Class. Using Events. The BUFFER Class. The TIC TAC TOE Class. UNIX Implementation. Windows Implementation. Summary.- Semaphores: Synchronization Patterns. The SYNCH Class. The SEMAPHORE Class. The POOL Class. The PIPELINE Class. The ARBITRATOR Class. UNIX Implementation. Windows Implementation. Summary.- Objects: Passive and Active Objects. The TRANSFER Class. Passive MUX Sender. Active DEMUX Receiver. Active MUX Sender. Summary.- Keys: Thread-Specific Storage. The KEY Class. Thread Identifiers. One-Time Initialization. The ONCE Class. UNIX Implementation. Windows Implementation. Summary.- Multiple Mutexes: Deadlocking Threads. Avoiding Deadlock. The RECURSIVE MUTEX Class. The TIMER Class. The CLOCK Class. Summary.- Multiple Events: Multiple Events. The MULTI EVENT Class. Random Event Monitoring. The HELLO Class. UNIX Implementation. Generic Implementation. Windows Implementation. Summary.- Distributed Computing: Network Communications. The CHANNEL Class. Packets and Streams. The STREAM Class. Database Queries. The QUERY Class. The DATABASE Class. Building the Application. Summary.- Postscript.- Index.

Product Description

Book by Walmsley Mark

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

I tuoi diritti di garanzia legale: Ogni consumatore nell'UE beneficia di almeno 2 anni di garanzia legale per qualsiasi bene di consumo venduto nell'UE. Scopri di più