File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Threads and Synchronization and the fly likes producer/consumer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "producer/consumer" Watch "producer/consumer" New topic


srijan sharma
Ranch Hand

Joined: Jan 24, 2001
Posts: 32
the folowing code does not give desired output...
it is from sun tutorial
// ******** storage class////////

Srijan , Please use [ code] [/ code] tags to format your code. check up how to use these tags Here
[This message has been edited by Rahul Mahindrakar (edited January 31, 2001).]
deekasha gunwant
Ranch Hand

Joined: May 06, 2000
Posts: 396
Hi Srijan,
yes this program does not prints the put/got lines in proper order..can you give the exact url where on sun's site this program can be found?
srijan sharma
Ranch Hand

Joined: Jan 24, 2001
Posts: 32
hi deeksha,
the site is
I agree. Here's the link:
subject: producer/consumer
jQuery in Action, 3rd edition