def start_new_job_in_thread(self, job_url):
        #pdb.set_trace()
        if job_url != None:
            failed = False;
            try:
                job_dict = self.coordination.get_job(job_url)
            except:
                failed=True
                
            if job_dict==None or failed==True:
                self.coordination.queue_job(self.pilot_url, job_url)
                
            logging.debug("start job: " + job_url + " data: " + str(job_dict))
            if(job_dict["state"]==str(bigjob.state.Unknown)):
                job_dict["state"]=str(bigjob.state.New)
                self.coordination.set_job_state(job_url, str(bigjob.state.New))
            self.execute_job(job_url, job_dict)
            #print "Execute: " + str(job_dict)
Creates a new PygcurseSurface object.
dataset/ETHPy150Open saga-project/BigJob/bigjob/bigjob_agent_condor.py/bigjob_agent.start_new_job_in_thread--crossover with--dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py/PygcurseSurface.__init__