Lines Matching refs:thejob
1355 struct pipe *thejob; local
1359 for (thejob = job_list; thejob; thejob = thejob->next)
1360 if (thejob->jobid >= pi->jobid)
1361 pi->jobid = thejob->jobid + 1;
1365 thejob = job_list = xmalloc(sizeof(*thejob));
1367 for (thejob = job_list; thejob->next; thejob = thejob->next) /* nothing */;
1368 thejob->next = xmalloc(sizeof(*thejob));
1369 thejob = thejob->next;
1373 memcpy(thejob, pi, sizeof(struct pipe));
1374 thejob->next = NULL;
1375 thejob->running_progs = thejob->num_progs;
1376 thejob->stopped_progs = 0;
1377 thejob->text = xmalloc(BUFSIZ); /* cmdedit buffer size */
1381 char *bar=thejob->text;
1390 printf("[%d] %d\n", thejob->jobid, thejob->progs[0].pid);
1391 last_bg_pid = thejob->progs[0].pid;
1392 last_jobid = thejob->jobid;