File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

producer/consumer

srijan sharma
Ranch Hand

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

regards
srijan
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?
reagrds
deeksha
srijan sharma
Ranch Hand

Joined: Jan 24, 2001
Posts: 32
hi deeksha,
the site is
http://java.sun.com/docs/books/tutorial/essential/threads/multithreaded.html
srijan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: producer/consumer