mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 20:26:46 +00:00
bitbake/server/process: Implement getEvent()
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
658ba779ac
commit
83c3f872cb
@ -229,6 +229,13 @@ class ProcessEventQueue(multiprocessing.queues.Queue):
|
||||
except Empty:
|
||||
return None
|
||||
|
||||
def getEvent(self):
|
||||
try:
|
||||
return self.get(False)
|
||||
except Empty:
|
||||
return None
|
||||
|
||||
|
||||
class BitBakeServer(object):
|
||||
def initServer(self):
|
||||
# establish communication channels. We use bidirectional pipes for
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user