• Post Reply Bookmark Topic Watch Topic
  • New Topic

wait() is not resuming  RSS feed

 
Tanu Tanvi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

sorry I deleted my post from here ....I found my approach is wrong..

Thanks


 
Henry Wong
author
Sheriff
Posts: 22861
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have three...



different threads, along with three different thread objects... And each thread object...



Has it's own ShareMethods object. Which is the object that you are using to synchronize and for notification. So, each of the three threads have there own notification object. The three threads are not sending notification to each other.

Henry
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!