]> code.ossystems Code Review - openembedded-core.git/commit
When shutting down, send SIGTERM, not SIGINT
authorChris Larson <clarson@kergoth.com>
Thu, 5 Aug 2010 04:58:51 +0000 (21:58 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 31 Dec 2010 10:34:08 +0000 (10:34 +0000)
commit96e7518472996b443083b73ec31dfb24afa2f268
treed4baa28460c12b67acd86c4ea3fe598b8b9f4d7a
parent58507838bbd1b83aff380c5cc5de1df9d532bf2e
When shutting down, send SIGTERM, not SIGINT

SIGINT should be from the user, not a script.  It also doesn't work as
reliably to shut down processes, as it's not always interpreted as a
termination request.  In addition, it causes KeyboardInterrupt exceptions in
the worker processes, which can interfere with our exception handling.

(Bitbake rev: e5f6e0e9de4c6d1dfdd269d2bf7f83c00c415a27)

Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/runqueue.py