]> code.ossystems Code Review - openembedded-core.git/commit
bitbake/cooker: Fix parsing failure zombie problem
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Feb 2011 11:09:07 +0000 (11:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Feb 2011 11:09:07 +0000 (11:09 +0000)
commit56a92105fe6b779c69bccd44c2cff8f21cafdfbd
tree22d4d5c8b1d62cadab09a844d0bc1eaef5e54595
parentc0f0a8ee0cac5b6dd7c7a7e584309f862e49f536
bitbake/cooker: Fix parsing failure zombie problem

When parsing if a SystemExit event is triggered, it causes the parsing thread to
exit and the main process hangs waiting for it to finish indefintely. Add code to
catch BaseExceptions and raise these with the main process gracefully instead
of just hanging indefinitely with zombie processes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cooker.py