Over 60 recipes to help you create ultra-fast multithreaded applications using C++ with rules, guidelines, and best practices
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.
What You Will Learn
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.