3 ms·
Why should one always expect a thread to be interruptible? If I don't run my thread within an Executor or some other framework that could interrupt my thread, t
by wellpast 10y ago
Why should one always expect a thread to be interruptible? If I don't run my thread within an Executor or some other framework that could interrupt my thread, then I should be able to consider that an illegal state.
- BrandonM 10y agoWhen a program is shutting down, its threads are interrupted.