Where can I find a multi-threading / concurrency playground? [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionI am looking for a website or program that has tons of "learn by example" tutorials on multi-threading. Preferably something that I can play with live. The jsfiddle of concurrency. Does such a thing exist?
Thanks!
Don't know about large worked examples, but the following two resources (at different levels of expertise and scale) might help. Both books and the code provided are of excellent quality:
Java Concurrency in Practice -- Goetz -- Link to code here; Book website here. This is a more pragmatic book and set of code, focused on issues application programmers want to know.
The Art of Multiprocessor Programming -- Herlihy -- Course notes; Book website here. Book contents include Java code. This is a "for experts" and deeply theoretical book focused (mostly) on low-level concurrent data structures, though with some content on transactional memory.
精彩评论