[bitbake-devel] [PATCH] process: Improve exit handling and hangs
Richard Purdie
richard.purdie at linuxfoundation.org
Sat Aug 24 12:40:38 UTC 2013
> @@ -203,5 +201,5 @@ class BitBakeServer(BitBakeBaseServer):
>
> def establishConnection(self):
> self.connection = BitBakeProcessServerConnection(self.serverImpl, self.ui_channel, self.event_queue)
> - signal.signal(signal.SIGTERM, lambda i, s: self.connection.terminate(force=True))
> + signal.signal(signal.SIGTERM, lambda i, s: self.connection.terminate())
> return self.connection
FWIW I think this piece of the change *may* make bitbake's handling of
Ctrl+C more robust. I know people have reported problems with that and
the function being called here was full of deadlocks. I'd be interested
in feedback on whether it helps.
Cheers,
Richard
More information about the bitbake-devel
mailing list