Files
build/tools
Dan Willemsen c6a900bee1 Prevent duplicate signals from makeparallel
As part of the soong_ui effort, we noticed that we'd sometimes see
multiple SIGINTs from a single ctrl-c from a user. ctrl-c sends a SIGINT
to the entire process group, so make, makeparallel, soong_ui, and all of
its children would get a signal. Since makeparallel was passing it along
to it's child, soong_ui would get two signals.

So instead, follow what Make does and only pass along SIGTERM. Assume
that all other signals went to the entire process group.

Bug: 35214134
Test: Send SIGINT to process group, check in makeparallel's child for
more than one signal received.
Change-Id: I5b2a77ad0fcebbaa5087439948e71bf3b541061a
2017-02-21 13:50:12 -08:00
..
2016-06-06 14:51:52 -07:00
2017-01-04 18:22:05 +00:00
2016-06-14 13:50:38 -07:00
2016-06-16 14:52:47 -07:00
2014-08-08 13:18:53 -07:00
2016-06-06 14:51:52 -07:00
2015-11-19 18:42:52 +00:00
2012-08-16 22:45:55 -07:00
2016-09-15 14:40:39 -07:00