I am at the end of my first year doing computer science and want to mess around with something basic. I want to use threads so I can learn.
What are some good examples to learn from?
You should try the java tutorials from Sun on concurrency.
I recommend the book Concurrent Programming in Java: Design Principles and Patterns by Doug Lea. Doug Lea was one of my professors at SUNY Oswego - great professor, brilliant man. The book is excellent and gives you a ton of great information on writing good multithreaded code in Java.
Oh yeah, and Doug Lea wrote most of java.util.concurrent. So he's a pretty good authority on the subject ;-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With