]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
command: Trigger updateCache to shut down any active parser threads
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Aug 2014 20:45:52 +0000 (21:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Aug 2014 23:06:37 +0000 (00:06 +0100)
commit25bfa2478f1c3a8eb695e1e5760e06db5be8f2fc
treeed42c94d148ff94a2b172290e6cd1491c4af994e
parent96f8ea07ace1379380fab2d78eb592fa40c867d4
command: Trigger updateCache to shut down any active parser threads

If we trigger a shutdown whilst parsing for whatever reason, in some
cases we were not closing down the parser threads. This change
ensures we do so. The function names are not entirely intuitive
but the behaviour is more correct (and commented). The previous bug
with the stdout failure would trigger this one, if there was a cold
cache and parsing was required (but not otherwise).

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