Пример #1
0
 def start_thread(self, name):
     """Run the 'startThread' thread operation."""
     thread = SpecRunnerThread(name)
     thread.start()
     self.targets[name] = thread
Пример #2
0
 def start(self, op):
     """Run the 'start' thread operation."""
     target = op['target']
     thread = SpecRunnerThread(target)
     thread.start()
     self.targets[target] = thread