buildman: Allow builds to terminate cleanly
authorSimon Glass <sjg@chromium.org>
Sun, 18 Sep 2016 22:48:35 +0000 (16:48 -0600)
committersjg <sjg@chromium.org>
Sun, 9 Oct 2016 15:30:32 +0000 (09:30 -0600)
commitd436e38189a26227274a3014d3d838eb3f183488
tree84ad810469f774cb92dd7c4e81ec961df7b36e57
parenta556eeebaada39d0d53941b4d18e5b6ea338c2cf
buildman: Allow builds to terminate cleanly

It is annoying that buildman does not respond cleanly to Ctrl-C or SIGINT,
particularly on machines with lots of CPUS. Unfortunately queue.join()
blocks the main thread and does not allow it to see the signal. Use a
separate thread instead,

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builder.py