Example #1
0
 def _build_all(self, builds):
     threads = []
     for identifier in builds:
         build = builds[identifier]
         task = CompileTask(self, identifier, build)
         if self.threaded:
             threads.append(Thread(target=task.run))
         else:
             task.run()
     [t.start() for t in threads]
     [t.join() for t in threads]
Example #2
0
 def _build_all(self, builds):
     threads = []
     for identifier in builds:
         build = builds[identifier]
         task = CompileTask(self, identifier, build)
         if self.threaded:
             threads.append(Thread(target=task.run))
         else:
             task.run()
     [t.start() for t in threads]
     [t.join() for t in threads]
Example #3
0
 def _build_from_queue(self, identifier):
     build = self.build_queue[identifier]
     task = CompileTask(self, identifier, build)
     task.run()
Example #4
0
 def _build_from_queue(self, identifier):
     build = self.build_queue[identifier]
     task = CompileTask(self, identifier, build)
     task.run()