summaryrefslogtreecommitdiffstats
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)
downloadpoky-c26d6cfda09cb78aead92a9f868d0730ad1ad181.tar.gz
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:
169 169
170 def runCommands(self, server, data, abort): 170 def runCommands(self, server, data, abort):
171 """ 171 """
172 Run any queued offline command 172 Run any queued asynchronous command
173 This is done by the idle handler so it runs in true context rather than 173 This is done by the idle handler so it runs in true context rather than
174 tied to any UI. 174 tied to any UI.
175 """ 175 """
176 if self.cookerIdle and not abort: 176 if self.cookerIdle and not abort:
177 self.command.runOfflineCommand() 177 self.command.runAsyncCommand()
178 178
179 # Always reschedule 179 # Always reschedule
180 return True 180 return True
@@ -670,7 +670,7 @@ class BBCooker:
670 retval = False 670 retval = False
671 if not retval: 671 if not retval:
672 self.cookerIdle = True 672 self.cookerIdle = True
673 self.command.finishOfflineCommand() 673 self.command.finishAsyncCommand()
674 bb.event.fire(bb.event.BuildCompleted(buildname, targets, self.configuration.event_data, failures)) 674 bb.event.fire(bb.event.BuildCompleted(buildname, targets, self.configuration.event_data, failures))
675 return retval 675 return retval
676 676
@@ -703,7 +703,7 @@ class BBCooker:
703 retval = False 703 retval = False
704 if not retval: 704 if not retval:
705 self.cookerIdle = True 705 self.cookerIdle = True
706 self.command.finishOfflineCommand() 706 self.command.finishAsyncCommand()
707 bb.event.fire(bb.event.BuildCompleted(buildname, targets, self.configuration.event_data, failures)) 707 bb.event.fire(bb.event.BuildCompleted(buildname, targets, self.configuration.event_data, failures))
708 return retval 708 return retval
709 709