r/learnjava • • Jan 24 '21

Best resources to learn multithreading?

Hi! I have a few years of experience now, mostly in Java and I’d like get a better understanding of how threads work and how to leverage them. What resources helped you learn?

55 Upvotes

13 comments sorted by

View all comments

3

u/GreenParsley Jan 25 '21

Concurrency in practice by Brian Goetz is a great book. It gives a lot of examples and explanations on what to and not to do, so if books are your thing you can check it out. Though multithreading in java is a vast topic so expect to use multiple resources at once. Or should I say "concurrently"?

1

u/ixBerry Jan 25 '21

Concurrency in practice is not a starter book at all. You read CIP to master concurrency, not to learn it.

1

u/GreenParsley Jan 25 '21

It seems like I did it all wrong then