I am new to Java concurrent programming. I noticed that the sleep () and currentThread () methods of the Thread class are static. Since with a multi-core processor many threads can start at the same time, I was wondering how the thread is selected between executable ones. Thank.
source
share