def evaluate(self, evaluee): global ctrl_client if ctrl_client and not self.ctrl_thread_started: thread.start_new_thread(check_stop, (self,)) self.ctrl_thread_started = True return TaskEvaluator.evaluate(self, evaluee)
def evaluate(self, evaluee): global ctrl_client if ctrl_client and not self.ctrl_thread_started: thread.start_new_thread(check_stop, (self, )) self.ctrl_thread_started = True return TaskEvaluator.evaluate(self, evaluee)
def evaluate(self, evaluee): global ctrl_client if ctrl_client and not self.ctrl_thread_started: thread.start_new_thread(check_stop, (self, )) self.ctrl_thread_started = True result = TaskEvaluator.evaluate(self, evaluee) self.write_wall_log() self.hitWallCounter = 0 self.atWall = False return result