sbt/tasks/src/main/scala/sbt
Ethan Atkins 64c0f0acdd Cancel all running tasks with ctrl+c
Frequently ctrl+c does not work to cancel the running tasks. This seems
to be because the signal handler is bound to a specific instance of
evaluate task but there may be multiple instances of evaluate task
running at any given time. Shutting down just one of the running engines
does not ensure that task evaluation stops. To work around this, we can
globally store all of the completion services in a weak hash map and
cancel all of them whenever a signal is received. Closing the service,
which happens at the end of task evaluation will remove the service from
the map so hopefully this shouldn't introduce a memory leak.
2020-08-14 14:52:57 -07:00
..
CompletionService.scala Name threads in completion service 2020-06-22 13:14:55 -07:00
ConcurrentRestrictions.scala Cancel all running tasks with ctrl+c 2020-08-14 14:52:57 -07:00
Execute.scala apply -Yno-lub 2019-10-13 23:46:23 -04:00
ExecuteProgress.scala open up ExecuteProgress, and adds a few keys 2019-03-19 00:42:46 -04:00
Incomplete.scala Update header 2018-09-14 04:53:36 -04:00
Node.scala Update header 2018-09-14 04:53:36 -04:00
Result.scala Update header 2018-09-14 04:53:36 -04:00