Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #19094
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Threading tutorial for C++? |
| Date | 2012-10-19 11:11 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <k5s53p$15v$1@dont-email.me> (permalink) |
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?
Back to comp.lang.c++ | Previous | Next — Next in thread | Find similar | Unroll thread
Threading tutorial for C++? markspace <-@.> - 2012-10-19 11:11 -0700
Re: Threading tutorial for C++? Öö Tiib <ootiib@hot.ee> - 2012-10-19 11:55 -0700
Re: Threading tutorial for C++? Robert Wessel <robertwessel2@yahoo.com> - 2012-10-19 14:03 -0500
Re: Threading tutorial for C++? markspace <-@.> - 2012-10-20 09:17 -0700
Re: Threading tutorial for C++? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-20 07:31 +0000
Re: Threading tutorial for C++? ptyxs <kerloch@gmail.com> - 2012-10-20 15:05 +0200
Re: Threading tutorial for C++? Luca Risolia <luca.risolia@studio.unibo.it> - 2012-10-20 15:20 +0200
Re: Threading tutorial for C++? markspace <-@.> - 2012-10-20 09:14 -0700
csiph-web