what happens when Thread.currentthread.interrupt() is executed?
How is it different from Future.cancel() ?
"Threads created by Executor framework impliment an Interruption
policy that lets tasks be cancelled using interruption."- Brian Goetz.
Can anyone provide internal code for this? Does it mean something like
Public class Thread implements InterruptionPolicy ..?