By screener
via java67.blogspot.com
Submitted: Jan 19 2013 / 10:27
Producer Consumer problem is a classic multithreading pattern which asked in many interviews, Though with advent of several concurrency utilities in Java 5, it becomes easier to solve this problem e.g. BlockingQueue made Producer consumer problem lot simpler. At the same time this problem serves a good example to learn using wait and notify method in Java.
Add your comment