Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

resume method  RSS feed

 
Nada Mohammed
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello every body
why resume method is deprecated ??
Thanks
-Nada
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the documentation:

Deprecated. This method exists solely for use with suspend(), which has been deprecated because it is deadlock-prone. For more information, see "Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?".

(you'll have to go to the sun site to get the actual link, I copied from a local copy)
Dave
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!