Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread Methods  RSS feed

 
Matt Raible
author
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone please post the instance methods of the Thread class, as well as the static methods. I always seem to get these confused and I KNOW they ask a question about them on the exam.
Thanks,
Matt
 
ashwini srinivasan
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Matt,
The static methods are yeild() and sleep()...
The Instance methods are suspend() and resume() which are deprecated in 1.2.
regds
ashwini.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!