I need to know what happens
The Java documentation is not clear on this point. What happens if you call interrupt on a Thread before it calls Thread.sleep():
//interrupt reaches ...
I want to interrupt a thread, but invoke interrupt() seems not work, below is the sample code:
public class BasicThreadrRunner { public static void main(String[] args) { ...