mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
bitbake-dev: Change terminology online/offline to sync/async
Change the terminology from online/offline to sync/async when referring to commands that return a result immediately versus those that produce changes that are emitted as events over time.
This commit is contained in:
@@ -169,12 +169,12 @@ class BBCooker:
|
||||
|
||||
def runCommands(self, server, data, abort):
|
||||
"""
|
||||
Run any queued offline command
|
||||
Run any queued asynchronous command
|
||||
This is done by the idle handler so it runs in true context rather than
|
||||
tied to any UI.
|
||||
"""
|
||||
if self.cookerIdle and not abort:
|
||||
self.command.runOfflineCommand()
|
||||
self.command.runAsyncCommand()
|
||||
|
||||
# Always reschedule
|
||||
return True
|
||||
@@ -670,7 +670,7 @@ class BBCooker:
|
||||
retval = False
|
||||
if not retval:
|
||||
self.cookerIdle = True
|
||||
self.command.finishOfflineCommand()
|
||||
self.command.finishAsyncCommand()
|
||||
bb.event.fire(bb.event.BuildCompleted(buildname, targets, self.configuration.event_data, failures))
|
||||
return retval
|
||||
|
||||
@@ -703,7 +703,7 @@ class BBCooker:
|
||||
retval = False
|
||||
if not retval:
|
||||
self.cookerIdle = True
|
||||
self.command.finishOfflineCommand()
|
||||
self.command.finishAsyncCommand()
|
||||
bb.event.fire(bb.event.BuildCompleted(buildname, targets, self.configuration.event_data, failures))
|
||||
return retval
|
||||
|
||||
|
||||
Reference in New Issue
Block a user