summaryrefslogtreecommitdiff
path: root/test/files/run/t6488.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-6488 Interrupt i/o threads on process destroySom Snytt2013-05-151-2/+55
| | | | | | | | | | | | | | | | | | | The previous fix uses Thread.stop to stop the threads which drain outputs, but should do something orderly. This commit interrupts the threads, which must check isInterrupted before attempting further i/o. The reading thread will suppress either the interruption or the IOException cited in the ticket. Similarly, i/o handlers must preserve and communicate interrupted status. The modest goal of this fix is to ameliorate any stack traces when the process is destroyed. The test runs itself as a sample process with output.
* SI-6488: Stop I/O threads prior to Process destructionDeclan Conlon2012-10-261-0/+11