M
markspace
Hey all, I've got a little personal project to learn a bit about
multithreading in C++, and I was wondering if anyone would like to give
me a few pointers (no pun intended).
What would you recommend as a good tutorial? Threading seems to be a
bit in flux, still, since standards have been long in coming (no flames
please) and so I was wondering from a practical standpoint what you'd
recommend.
Let's assume a Unix/Linux environment. I'll tackle Windows later.
I have a recommendation for a Boost tutorial, although the article is
really old.
<http://www.drdobbs.com/cpp/the-boostthreads-library/184401518>
There's of course a lot of old pthreads tutorials. I wonder if pthreads
has been obviated by now, however.
<http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html>
<http://codebase.eu/tutorial/posix-threads-c/>
So I'm also wondering how prevalent c++11 is, in your practical opinion.
<http://solarianprogrammer.com/2011/12/16/cpp-11-thread-tutorial/>
What should I tackle first? Some articles I researched seem to say
multithreading can't truly (i.e., correctly) be implemented in a
library. So is pthreads really relevant any more?
<http://www.hpl.hp.com/personal/Hans_Boehm/c++mm/>
<http://www.hpl.hp.com/techreports/2004/HPL-2004-209.html>
Note especially the second link there.
So where should a newb start? Suggestions?
multithreading in C++, and I was wondering if anyone would like to give
me a few pointers (no pun intended).
What would you recommend as a good tutorial? Threading seems to be a
bit in flux, still, since standards have been long in coming (no flames
please) and so I was wondering from a practical standpoint what you'd
recommend.
Let's assume a Unix/Linux environment. I'll tackle Windows later.
I have a recommendation for a Boost tutorial, although the article is
really old.
<http://www.drdobbs.com/cpp/the-boostthreads-library/184401518>
There's of course a lot of old pthreads tutorials. I wonder if pthreads
has been obviated by now, however.
<http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html>
<http://codebase.eu/tutorial/posix-threads-c/>
So I'm also wondering how prevalent c++11 is, in your practical opinion.
<http://solarianprogrammer.com/2011/12/16/cpp-11-thread-tutorial/>
What should I tackle first? Some articles I researched seem to say
multithreading can't truly (i.e., correctly) be implemented in a
library. So is pthreads really relevant any more?
<http://www.hpl.hp.com/personal/Hans_Boehm/c++mm/>
<http://www.hpl.hp.com/techreports/2004/HPL-2004-209.html>
Note especially the second link there.
So where should a newb start? Suggestions?