my dog learned polymorphism*
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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: producer/consumer