def start_thread(self, name): """Run the 'startThread' thread operation.""" thread = SpecRunnerThread(name) thread.start() self.targets[name] = thread
def start(self, op): """Run the 'start' thread operation.""" target = op['target'] thread = SpecRunnerThread(target) thread.start() self.targets[target] = thread