]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
server/process: Fix select call
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Jan 2015 17:43:51 +0000 (17:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Jan 2015 11:33:46 +0000 (11:33 +0000)
commit8f166e1a0f3574ae7d1e917a8bb403b87bad15bf
tree183827ca2880b9d6bd3d8f92836b72d818b5d3ad
parentc1b9c7a05c1c05fcd73d819e8b0142169106f0da
server/process: Fix select call

There was a report that bitbake -e | less would use 100% cpu when it shouldn't
really. The issue appears to be a bogus file descriptor in the select call. We
shouldn't be blocking if there is event data pending to a *reader* from server
context.

[YOCTO #7138]

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