C++ Multithreading Cookbook
By Milos Ljumovic
Publisher: Packt Publishing
Final Release Date: August 2014
Pages: 422

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.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyC++ Multithreading Cookbook
 
2.8

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (2)

50%

of respondents would recommend this to a friend.

Pros

    Cons

      Best Uses

          • Reviewer Profile:
          • Developer (3)

        Reviewed by 4 customers

        Sort by

        Displaying reviews 1-4

        Back to top

         
        4.0

        Recipes for the .NET Multithreaded progr

        By rhvall

        from Atlanta

        About Me Developer

        Verified Reviewer

        Pros

        • Helpful examples

        Cons

        • For Experts
        • Just Windows Users

        Best Uses

        • Advanced
        • Expert

        Comments about oreilly C++ Multithreading Cookbook:

        Getting Ready
        This book is a good resource of offline recipes that will help .NET programmers to spot multithreading techniques with code examples that cover various topics like IPC problems, threads, processes, synchronization, messages and even a thread pool dispatcher. Everything goes from a really fundamental approach to highly technical examples that will challenge even the most experienced programmers

        How to do it…
        The initial chapters will guide you through the Windows environment setup, some first steps into C++ programming and then jump straight to the .NET Treading world.

        How it works…
        The book uses the following structure: presents a topic, gives a brief theory background, explain any setup needed, show the code that develops the main idea, and finally summarizes in technical english words what the previous section was about.

        There's more…
        Even when it is concise and goes directly to the point, I would not recommend this book for programmers outside the .NET ecosystem, because the book is fully centered to the Window platform and its thread implementation, which renders little real information for *NIX users. As consequence, if theory is what you are looking for, this book would not be enough; it focuses more on practice examples.

        (2 of 2 customers found this review helpful)

         
        1.0

        Best for Windows Developers Only

        By Johnny Douglas

        from Ottawa, ON

        Verified Buyer

        Comments about oreilly C++ Multithreading Cookbook:

        I bought this hoping for a *nix oriented book, but it is aimed at Windows developers. I can't comment on its quality for Windows folks, but as for *nix programmers it's worth passing on. I think the description/summary needs to be improved.

        (1 of 1 customers found this review helpful)

         
        5.0

        I would surely recommend this book

        By Lara

        from Podgorica, Montenegro

        About Me Developer, Educator, Sys Admin

        Verified Reviewer

        Pros

        • Accurate
        • C
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about oreilly C++ Multithreading Cookbook:

          The book gives excellent overview on concurrecy much in textbook style. The author is explaining everything from low-lewel Windows API along with approach paying attention to explain paralellism theory along with excellent real life examples and situations.

          (2 of 3 customers found this review helpful)

           
          1.0

          Doesn't use C++11 threads

          By Douglas

          from Los Angeles, CA

          About Me Developer, Sys Admin

          Verified Reviewer

          Pros

            Cons

            • Not comprehensive enough
            • Obsolete

            Best Uses

              Comments about oreilly C++ Multithreading Cookbook:

              Based on the source code examples, this book is very windows-centric. It also failed to use standard (and portable) c++11 threads-- which is a shame for a book published in 2014. Nor did the code make use of pthreads, which is available on Linux, Mac, and Window (although C++11 threads makes pthreads no longer necessary nor desirable for for new C++ programs).

              Displaying reviews 1-4

              Back to top

               
              Buy 2 Get 1 Free Free Shipping Guarantee
              Buying Options
              Immediate Access - Go Digital what's this?
              Ebook: $29.99
              Formats:  ePub, Mobi, PDF