Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the "must reads" online for learning the ins and outs of multithreading? [closed]

Over the last couple months I've been working with programs that involve multi-threading aspects to them. Multi-threaded programs a very new to me and while I understand the crude basics, how to go about designing a multi-threaded program is still beyond my skill-set. I would like to know what resources that people have found online that gave you an "Omg! That makes total sense now!" moment for this topic.

This should probably be a community wiki but due to the latest changes to SO, I can't make it one (that I know of at least).

Edit: I'm aiming toward reading that is language-independent if possible. Though I don't want to discurage anything that might be particular of a language if it is informative enough to general multi-threading program design.

like image 780
Anthony Avatar asked Oct 15 '10 14:10

Anthony


2 Answers

Herb Sutter has a Dr. Dobbs column called Effective Concurrency that's terrific. It's a little C++-centric but the underlying lessons are well explained and are bite-sized so you don't get overwhelmed.

like image 121
Paul Rubel Avatar answered Nov 14 '22 22:11

Paul Rubel


Threading must-reads

  • The Threads FAQ, by Bryan O'Sullivan (hacker extraordinaire)
  • The Problem with Threads, by Edward A. Lee (on how and why non-deterministic multi-threading is so difficult)

Concurrency must-reads

  • The Free Lunch Is Over, by Herb Sutter (on the pragmatic importance of concurrency)
  • The C10K problem, by Dan Kegel (if you plan to do any large-scale network programming)
like image 33
Pi Delport Avatar answered Nov 14 '22 22:11

Pi Delport