What is Difference between wait() and sleep() Anonymous User 03-Jul-2015 1404 2 Answers Last updated:9/18/2020 10:40:36 PM
Anonymous User 03-Jul-2015 What is the difference between a wait() and sleep() in Threads? Is my understanding that a wait()-ing Thread is still in running mode and uses CPU cycles but a sleep()-ing does not consume any CPU cycles correct? Why do we have both wait() and sleep(): how does their implementation vary at a lower level?
Mayank Tripathi 03-Jul-2015 Refer here : http://www.mindstick.com/forum/23317/What%20is%20Difference%20between%20wait%20and%20sleep#.VZatm_mqqko
Anonymous User