예제 #1
0
 def addJobWithExtra(self, processNumber, QJobName, fileName, method,
                     isObject, QID, args):
     newJob = Job.ClientJob(processNumber, 'none', fileName, method,
                            isObject, QID, args)
     newJob.QJobName = QJobName
     p = mp.Process(target=self.importLibrary, args=(newJob, ))
     newJob.process = p
     self.jobsToRun.append(newJob)
예제 #2
0
 def addJob(self, fileName, method, isObject, QID, args):
     #print 'adding a job: ',job,'...'
     newJob = Job.ClientJob(self.processNumber, 'none', fileName, method,
                            isObject, QID, args)
     p = mp.Process(target=self.importLibrary, args=(newJob, ))
     newJob.process = p
     self.jobsToRun.append(newJob)
     self.processNumber = self.processNumber + 1