C++ Multithreading Cookbook

Book and eBook expected July 2014. Pre-order now!
C++ Multithreading Cookbook
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 20%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 300 pages [ 235mm x 191mm ]
Release Date : July 2014
ISBN : 1783289791
ISBN 13 : 9781783289790
Author(s) : Milos Ljumovic
Topics and Technologies : All Books, Application Development, Cookbooks, Open Source
Sorry, the table of contents for this book is not yet available.

Milos Ljumovic

Milos Ljumovic has a Master’s degree in Operating Systems, and has spent the last 10 years creating multithreaded applications using C++ and C#. Besides operating systems, he is also interested in object-oriented concepts and compilers theory.
Sorry, we don't have any reviews for this title yet.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sorry, there are currently no downloads available for this title.

Frequently bought together

C++ Multithreading Cookbook +    BMC Control-M 7: A Journey from Traditional Batch Scheduling to Workload Automation =
50% Off
the second eBook
Price for both: $51.00

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

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 common synchronization problems

In Detail

Creating multithreaded applications is a present-day approach towards programming. Developers expect their applications to be user friendly, with a rich interface and concurrent execution. The power of the C++ language alongside the native Win32 API features will give you a head start over all other languages and frameworks. With the power of C++, you can easily create various types of applications and perform parallelism and optimizations in your existing solutions.

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 in detail. The book also covers the Windows process model alongside scheduling techniques and interprocess communication.

Beginning from the basics, you will be introduced to the most powerful Integrated Development Environments ever made: Microsoft Visual Studio. You will then learn to use Windows kernel native features, as well as the characteristics of .NET framework. You will then understand how to solve some common concurrent problems and learn how to properly think in a multithreaded environment.

Using Mutexes, semaphores, critical sections, monitors, events & pipes, you will learn the most efficient way of synchronization in your C++ application. The book will then teach you the best possible approach to learn concurrency in C++.

Using the C++ Native Calls, the book will show you how to leverage machine hardware for optimum performance. 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.


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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software