changeset 56667 | 65e84b0ef974 |
parent 49471 | 97964515a676 |
child 56704 | c2f0ddd14747 |
--- a/src/Pure/Concurrent/simple_thread.scala Wed Apr 23 11:40:42 2014 +0200 +++ b/src/Pure/Concurrent/simple_thread.scala Wed Apr 23 12:39:23 2014 +0200 @@ -15,10 +15,10 @@ object Simple_Thread { - /* prending interrupts */ + /* pending interrupts */ def interrupted_exception(): Unit = - if (Thread.interrupted()) throw new InterruptedException + if (Thread.interrupted()) throw Exn.Interrupt() /* plain thread */