scala/scala — pull request #2478 by som-snytt (2013-04-30 20:19:13+00:00)
Title: SI-6488 Interrupt i/o threads on process destroy

The previous fix uses Thread.destroy, but should do something orderly.

This commit interrupts the threads, which must check isInterrupted
before attempting further i/o.

Similarly, i/o handlers must preserve and communicate interrupted
status; see the test.