3

I finished reading the first seven chapters of Java Concurrency in Practice. Can you give me any ideas of sample projects so that my ideas will become solidified ?

1
  • 3
    Go to sourceforge and search "Java concurrency". Commented Sep 27, 2011 at 12:26

2 Answers 2

1

How about implementing your own 'thread safe' list and then making multiple threads add, get, and remove elements from it? Liberal use of System.out would show you just how interesting it can get when multiple threads work on the same data structure.

Sign up to request clarification or add additional context in comments.

Comments

1

This guy has a great set of tutorials on concurrency. jenkov tutorials

One interesting exercise try to create a "fair" lock using nothing but the simplest java language constructs. It allows you to become intimately familiar with all the paranoia inducing aspects of threads(race conditions, missed signals, etc.) and helps us come to terms with why the prospect of writing multi-threaded applications keep me up at night.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.