I have aggregated some of the best online resources I have encountered so far on pthreads and multi-threaded programming. Some of these may have been shared earlier, but this is my collection of 'best so far'. I've included the links below, and the reasons I like each of the links:
- http://www.cs.cmu.edu/afs/cs/academic/class/15492-f07/www/pthreads.html#PITFALLS (Very concisely covers the basics of thread creation, mutexes, condition variables, and pitfall - very brief)
- https://computing.llnl.gov/tutorials/pthreads/ (Also covers the basics of thread creation, joins, mutexes, condition variables in about 27 pages total)
- http://www8.cs.umu.se/kurser/TDBC64/VT03/pthreads/pthread-primer.pdf (A much more detailed reference for PThread and all details associated. Much more information but a lot longer too. Good as a reference and to cherry pick areas to understand in greater depth).
- http://homes.dsi.unimi.it/~boccignone/GiuseppeBoccignone_webpage/MatDidatSOD2009_files/pthread-Tutorial.pdf (Gets into a lot more helpful information on thread synchronization, operating models, and thread safety. About 28 pages)
网友评论