sbt/internal
Ethan Atkins ceee8ac492 Fix console task cancellation
When the sbt main loop is blocked by console, any other connected client
is prompted that they can kill the task by typing cancel. The
implementation for the console task is to write some input that will
cause the console to exit because the scala 2.12 console cannot be
safely killed with an interrupt. This input, however, was being blocked
from written to the console because the console input stream was holding
the readThread lock. We can be fix this and propagate the input to the
console we wish to terminate by synchronizing on a different lock
object. This should have no impact outside of cancelling the console
because that is the only place where we call the write method of
WriteableInputStream.
2020-11-06 13:56:01 -08:00
..
util-collection Improve sbt build load time by 25% 2020-07-26 19:52:26 -07:00
util-complete load .inputrc file 2020-10-14 17:13:53 +09:00
util-control Kill external processes on sigint 2020-08-23 10:15:07 -07:00
util-interface/src/main/java/xsbti Apply javafmt in sbt project 2020-01-14 14:38:08 -08:00
util-logging Fix console task cancellation 2020-11-06 13:56:01 -08:00
util-logic/src apply -Yno-lub 2019-10-13 23:46:23 -04:00
util-position/src Add util headers 2019-12-08 10:29:22 -08:00
util-relation/src Add util headers 2019-12-08 10:29:22 -08:00
util-scripted/src/main Add internal multi logger implementation 2020-08-09 11:20:34 -07:00