Question

I have always been kind of confused by threads, and my class right now makes heavy use of them. We are using java.util.concurrent but I don't even really get the basics. UpDownLatch, Futures, Executors; these words just fly over my head. Can you guys suggest any resources to help learn what I need from the ground up?

Thanks a lot in advance!

Was it helpful?

Solution

I'm assuming that you already went through the Java tutorial's threading chapter?

There are many good books on threading in general, but also specifically in Java.

For example, Java Concurrency in Practice

enter image description here

OTHER TIPS

Read "Java Concurrency In Practice" by Brian Goetz. Great book.

Or Doug Lea's "Concurrent Programming In Java". Old school, terrific stuff. Pre-dates the concurrent package, but it's the basis for a lot of it.

If you are looking for a beginners book, check out Java Thread Programming by Paul Hyde . The other books like "Java Concurrency in Practice" and "Concurent Programming in Java" can be read to get an in depth understanding of concurrency (and specially the new java.util.concurent API) but may not be good for beginners.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top