[OE-core] [PATCH] lib/oeqa/qemurunner: Use a timeout in select() call

Richard Purdie richard.purdie at linuxfoundation.org
Fri Sep 6 14:50:22 UTC 2013


On Fri, 2013-09-06 at 15:46 +0100, Burton, Ross wrote:
> On 6 September 2013 15:42, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> > -                sread, swrite, serror = select.select(socklist, [], [], 0)
> > +                sread, swrite, serror = select.select(socklist, [], [], 0.1)
> 
> As discussed on IM, for the purposes of this loop a timeout of seconds
> instead of fractions of seconds would be more correct, although we're
> obviously going to be having diminishing returns.

Basically, agreed. I've pushed this into master-next for testing
purposes whilst we discuss what this really should be. I think 5 might
be a good number. 

Cheers,

Richard




More information about the Openembedded-core mailing list