Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

wait() is not resuming

 
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: 22542
109
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
 
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!