what is the difference between stop() and yield()?
As far as I know yield method keeps the currently running thread in ready-to-run state.What happens when the stop() method is called on the currently running thread?What is the state of the thread?
what is the difference between stop() and yield()?
As far as I know yield method keeps the currently running thread in ready-to-run state.What happens when the stop() method is called on the currently running thread?What is the state of the thread?
Thanks.
It will go to Dead state. No more Thread - of - execution!
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Warning! Way too comfortable! Do not sit! Try reading this tiny ad instead:
a bit of art, as a gift, the permaculture playing cards