C++ Multithreading Cookbook
- Length: 300 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2014-08-06
- ISBN-10: 1783289791
- ISBN-13: 9781783289790
- Sales Rank: #4703704 (See Top 100 Books)
Over 60 recipes to help you create ultra-fast multithreaded applications using C++ with rules, guidelines, and best practices
Overview
- Create multithreaded applications using the power of C++
- Upgrade your applications with parallel execution in easy-to-understand steps
- Stay up to date with new Windows 8 concurrent tasks
- Avoid classical synchronization problems
- Understand Windows API and concurrent execution
What you will learn from this book
- Use an object-oriented programming model with inheritance, overloading, and polymorphism
- Solve common Interprocess Communication problems and avoid deadlocks or starvation problems in your application development
- Manage threads efficiently using the CThread class
- Explore .NET CLI/C++ features as well as synchronization objects and techniques
- Make use of parallel techniques in code design
- Use machine resources in concurrent execution
- Enable programs to work with each other using Message Passing
- Avoid classic synchronization problems
In Detail
Creating multithreaded applications is a present-day approach towards programming. With the power of C++, you can easily create various types of applications and perform parallelism and optimizations in your existing work. This book is a practical, powerful, and easy-to-understand guide to C++ multithreading. You will learn how to benefit from the multithreaded approach and enhance your development skills to build better applications. This book will not only help you avoid problems when creating parallel code, but also help you to understand synchronization techniques. The end goal of the book will be to impart various multithreading concepts that will enable you to do parallel computing and concurrent programming quickly and efficiently.
Approach
The book is an easy-to-follow guide for creating multi-threaded applications using C++. Each topic is thoroughly explained with multiple illustrations. Many algorithms, such as Dinning Philosophers Problem give you thorough explanations that will help you to understand and solve concurrent tasks.
Who this book is for
The book is intended for enterprise developers and programmers who wish to make use of C++ capabilities to learn the multithreaded approach. Knowledge of multithreading along with experience in C++ is an added advantage. However it is not a prerequisite.
Table of Contents
Chapter 1: Introduction to C++ Concepts and Features
Chapter 2: The Concepts of Process and Thread
Chapter 3: Managing Threads
Chapter 4: Message Passing
Chapter 5: Thread Synchronization and Concurrent Operations
Chapter 6: Threads in the .NET Framework
Chapter 7: Understanding Concurrent Code Design
Chapter 8: Advanced Thread Management