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