• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread killing

 
Isha Mackker
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Is there any may to kill a thread or stop executing a thread at the run time, not at development time(by using yield(), sleep() or setting lower priority etc.)?
Thanks and Regards,
Isha
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
usually i have a loop in the thread's run() method



and getter and setter for _halt...

jan.
 
Isha Mackker
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What i wanted is at run time, i mean if u don't have access to the source code, u can't even change the run(), then is there any way to kill or stop the thread?
 
Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic