diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-21 17:43:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-23 11:33:46 +0000 |
commit | 8f166e1a0f3574ae7d1e917a8bb403b87bad15bf (patch) | |
tree | 183827ca2880b9d6bd3d8f92836b72d818b5d3ad /lib | |
parent | c1b9c7a05c1c05fcd73d819e8b0142169106f0da (diff) | |
download | bitbake-8f166e1a0f3574ae7d1e917a8bb403b87bad15bf.tar.gz |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/server/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py index d362f8d7f..7671b26a8 100644 --- a/lib/bb/server/process.py +++ b/lib/bb/server/process.py @@ -115,7 +115,7 @@ class ProcessServer(Process, BaseImplServer): self.quitout.recv() self.quit = True - self.idle_commands(.1, [self.event_queue._reader, self.command_channel, self.quitout]) + self.idle_commands(.1, [self.command_channel, self.quitout]) except Exception: logger.exception('Running command %s', command) |