[bitbake-devel] [PATCH] server/process: Fix waitEvent() calls with 0 timeout

Christopher Larson kergoth at gmail.com
Fri Jul 7 21:45:03 UTC 2017


On Fri, Jul 7, 2017 at 6:59 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> 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.
>

… wow, that’s .. not intuitive at all.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20170707/221ef943/attachment-0002.html>


More information about the bitbake-devel mailing list