I know how to interrupt a thread. But I want to know how interrupt method works internally in java multi threading ?
Asked
Active
Viewed 55 times
1 Answers
0
Here's a simplistic answer. If the thread is in a wait condition, an InterruptedException is thrown. If the thread is active, the thread's interrupted flag is set.

Steve11235
- 2,849
- 1
- 17
- 18