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:
Rob Bradford
2008-10-23 14:28:11 +01:00
parent f0b1d561c7
commit c26d6cfda0
2 changed files with 42 additions and 42 deletions

View File

@@ -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