0
Does a thread uses cpu during sleep()
2 odpowiedzi
+ 2
Science is Cool sleep method use to stop the execution of thread for sometime. So no.
0
" This is an efficient means of making processor time available to the other threads "
https://docs.oracle.com/javase/tutorial/essential/concurrency/sleep.html