summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-07 14:38:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-08 13:29:54 +0100
commit9245c3b87fd56cd157de8f3e8ba1032a3a6be286 (patch)
tree5bee03cd12d37c4b1e17695e8191f86bc0a35e13 /bitbake/lib/bb/event.py
parentfe40092afb6d27019e6f971a4e33053b080f7c54 (diff)
downloadpoky-9245c3b87fd56cd157de8f3e8ba1032a3a6be286.tar.gz
bitbake: server/process: Fix waitEvent() calls with 0 timeout
You might think Queue.Queue.get(True, 0) would return an event immediately if present and otherwise return. It doesn't, it immediately "times out" and returns with nothing from the queue. The behaviour we want is not to wait but return anything present which is what .get(False) does so map to this. This fixes some odd behaviour observed in some of the tinfoil selftests. (Bitbake rev: 412bfab8721ea317898a1974f6a7a0d0bea763df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/event.py')
0 files changed, 0 insertions, 0 deletions