Lines Matching refs:JOBDONE
87 #define JOBDONE 2 /* all procs are completed */ macro
275 if (jp->state == JOBDONE) in bgcmd()
292 if (jp->state == JOBDONE) in restartjob()
494 if (jp->state == JOBDONE && !jp->remembered && in showjobs()
566 if (job->state == JOBDONE) { in waitcmdloop()
585 if (jp->used && jp->state == JOBDONE) { in waitcmdloop()
724 if (jp->state == JOBDONE) in killjob()
980 if (bgjob != NULL && bgjob->state == JOBDONE && in forkshell()
1109 if (! JOBS || jp->state == JOBDONE) in waitforjob()
1190 job->state = JOBDONE; in dowait()
1226 int state = done? JOBDONE : JOBSTOPPED; in dowait()