Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Stopping Thread  RSS feed

 
Richard Teston
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i have an object which extends Thread how could i stop and resume thread execution since stop() resume() is not recommended to use?
 
Mahesh swami
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use wait and notify methods instead of stop and resume
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!