summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-10-23 14:28:11 +0100
committerRob Bradford <rob@linux.intel.com>2008-10-23 14:28:11 +0100
commitc26d6cfda09cb78aead92a9f868d0730ad1ad181 (patch)
tree2a71091711cf5f2b238d852307aeb63a41c979f9 /bitbake-dev/lib/bb/cooker.py
parentf0b1d561c7396f005a8308f32df24855181647fd (diff)
downloadopenembedded-core-c26d6cfda09cb78aead92a9f868d0730ad1ad181.tar.gz
openembedded-core-c26d6cfda09cb78aead92a9f868d0730ad1ad181.tar.bz2
openembedded-core-c26d6cfda09cb78aead92a9f868d0730ad1ad181.zip
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.
Diffstat (limited to 'bitbake-dev/lib/bb/cooker.py')
-rw-r--r--bitbake-dev/lib/bb/cooker.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py
index e3bb56d376..339bb45ec1 100644
--- a/bitbake-dev/lib/bb/cooker.py
+++ b/bitbake-dev/lib/bb/cooker.py
@@ -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