This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

producer/consumer

 
srijan sharma
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi deeksha,
the site is
http://java.sun.com/docs/books/tutorial/essential/threads/multithreaded.html
srijan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic