• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wait()/notify()

 
meena latha
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am not yet clear with using wait() and notify().
Can anybody explain me where should i use the notify() in the below code to invoke the waiting thread.



Thanks in advance.
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remya,
This is best explained here.
ram.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic