CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Thread: Threads in C++

  1. #1
    Join Date
    Oct 2008
    Posts
    59

    Threads in C++

    I want to learn threads and concurrency in c++.Can some one recommend a good book for threads please.By the way I use VC++

  2. #2
    Join Date
    Apr 2009
    Location
    Russia, Nizhny Novgorod
    Posts
    99

    Re: Threads in C++

    There is no book about threads in C++ because threads will become part of C++0x standard. As this standard wasn't approved yet writers didn't write any book about it.
    But you can read some books about threads in particular OS. I would recommend to read Jeffry Richter if you would like to know about threads in windows.

  3. #3
    Join Date
    Oct 2008
    Posts
    59

    Re: Threads in C++

    Hi,
    Thank you very much for the reply.I also found other book Multithreading Applications in Win32..

    Which of the two is better??

  4. #4
    Join Date
    Apr 2009
    Location
    Russia, Nizhny Novgorod
    Posts
    99

    Re: Threads in C++

    I didn't read this book and don't know its authors. I read Richter's book and I know he is very knowledgeable man and he has a good "teacher language"(I mean his books are simple to read and understand). But I'm sure it won't be bad if you read both.

  5. #5
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: Threads in C++

    There are several common threading libraries, including pthreads and Boost Threads. However, multithreaded programming isn't so much about learning a particular library as it is about learning a way of thinking. So whatever you study, focus on the concepts.

  6. #6
    Join Date
    Jan 2009
    Posts
    1,689

    Re: Threads in C++

    Since you are using VC++, <windows.h> has threading tools in it, I suggest looking for tutorials on that.

  7. #7
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Threads in C++

    For programming threads on Windows, the Richter book mentioned earlier is a must read.

  8. #8
    Join Date
    Feb 2005
    Location
    "The Capital"
    Posts
    5,306

    Re: Threads in C++

    For Posix threads (and even threading in general), the book by David Butenhof is a fantastic one. He was also on the standardization of posix threads, so it is from the man himself. "Programming with Posix Threads" it is.

  9. #9
    Join Date
    Sep 2008
    Posts
    8

    Re: Threads in C++

    "Windows via C/C++" is another good book

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured