Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
スレッドが Java スレッドの場合、Thread.interrupt() によってスレッドを中断できます。
また、SingleThread を使用して Executor Service を作成し、Future.cancel を呼び出すこともできます。
誰かが2つの違いを説明できますか?
将来のキャンセル とスレッド割り込み
AppleとOrangeを比較していると思います。両方のドキュメントを確認してください。