C++ Multithreading Cookbook

Milos Ljumovic

商品描述

Over 60 recipes to help you create ultra-fast multithreaded applications using C++ with rules, guidelines, and best practices

About This Book

  • 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

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.

What You Will Learn

  • 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.

商品描述(中文翻譯)

超過 60 種食譜,幫助您使用 C++ 創建超快速的多執行緒應用程式,並提供規則、指導方針和最佳實踐

關於本書
- 使用 C++ 的強大功能創建多執行緒應用程式
- 以易於理解的步驟升級您的應用程式,實現平行執行
- 隨時掌握新的 Windows 8 並行任務
- 避免經典的同步問題
- 理解 Windows API 和並行執行

本書適合誰
本書旨在為希望利用 C++ 功能學習多執行緒方法的企業開發人員和程式設計師而寫。具備多執行緒知識及 C++ 經驗將是額外的優勢,但並非必要條件。

您將學到什麼
- 使用物件導向程式設計模型,包括繼承、重載和多型
- 解決常見的進程間通信問題,避免在應用程式開發中出現死鎖或飢餓問題
- 使用 CThread 類別有效管理執行緒
- 探索 .NET CLI/C++ 特性以及同步物件和技術
- 在程式設計中運用平行技術
- 在並行執行中使用機器資源
- 使程式能夠通過消息傳遞互相協作
- 避免經典的同步問題

詳細內容
創建多執行緒應用程式是當今編程的一種方法。憑藉 C++ 的強大功能,您可以輕鬆創建各種類型的應用程式,並在現有工作中執行平行處理和優化。本書是一本實用、強大且易於理解的 C++ 多執行緒指南。您將學會如何從多執行緒方法中受益,並提升您的開發技能,以構建更好的應用程式。本書不僅將幫助您在創建平行代碼時避免問題,還將幫助您理解同步技術。本書的最終目標是傳授各種多執行緒概念,使您能夠快速有效地進行平行計算和並行編程。