Searched refs:jobs (Results 1 - 19 of 19) sorted by relevance

/ast/src/cmd/ksh93/sh/
H A Ddefs.c27 #include "jobs.h"
46 struct jobs job = {0};
H A Djobs.c35 #include "jobs.h"
497 /* if process in current jobs terminates from
743 * see if there are any stopped jobs
869 void job_bwait(char **jobs) argument
874 if(*jobs==0)
876 else while(jp = *jobs++)
912 register char *jobid, **jobs=joblist; local
922 if(jobs==0)
924 /* do all jobs */
934 else if(*jobs
[all...]
H A Dsubshell.c35 #include "jobs.h"
86 void *jobs; /* save job info */ member in struct:subshell
507 sp->jobs = job_subsave();
704 job_subrestore(sp->jobs);
/ast/src/cmd/nmake/
H A Dcommand.c92 Joblist_t* freejob; /* free jobs */
95 int intermediate; /* # INTERMEDIATE jobs */
100 static Jobstate_t jobs; variable
433 z->last->parent = jobs.freeframe;
434 jobs.freeframe = z->frame;
435 z->next = jobs.freecontext;
436 jobs.freecontext = z;
442 jobs.lastjob = job->prev;
446 jobs.firstjob = job->next;
447 job->next = jobs
[all...]
H A Dmain.c378 state.jobs = 1;
427 state.jobs = (int)strtol(v->value, NiL, 0);
907 * disable listing and wait for any jobs to finish
948 * put all jobs in foreground and save state
952 state.jobs = 0;
H A Dmake.h177 #define MAXJOBS 128 /* maximum number concurrent jobs */
422 #define JOB_blocked 1 /* blocked jobs with prereqs */
671 char* nproc; /* # jobs for compatibility */
829 int jobs; /* sh action concurrency level */ member in struct:State_s
H A Doption.c123 { "jobs", OPT_jobs, (char*)&state.jobs, 0,
912 state.jobs = n;
H A DMakerules.mk4697 J := $(--jobs) /* XXX: multiple :LIBRARY: may get botched with jobs>0 */
4712 J := $(--jobs) /* XXX: multiple :LIBRARY: may get botched with jobs>0 */
4735 J := $(--jobs) /* XXX: multiple :LIBRARY: may get botched with jobs>0 */
/ast/src/cmd/ksh93/include/
H A Djobs.h97 struct jobs struct
109 int numpost; /* number of posted jobs */
111 int numbjob; /* number of background jobs */
120 char waitall; /* wait for all jobs in pipe */
122 unsigned char *freejobs; /* free jobs numbers */
134 extern struct jobs job;
187 * The following are defined in jobs.c
/ast/src/lib/libcoshell/
H A Dcolib.h46 Cojob_t* jobs; /* job list */ \
H A Dcowait.c55 * the number of running+zombie jobs
56 * these would count against --jobs or NPROC
104 * the number of completed jobs not cowait()'d for
170 for (cj = co->jobs; cj; cj = cj->next)
210 * reap the active jobs
226 for (cj = co->jobs; cj; cj = cj->next)
247 for (cj = co->jobs; cj; cj = cj->next)
287 for (cj = co->jobs; cj; cj = cj->next)
H A Dcokill.c25 * if co==0 then kill all coshell jobs with sig
26 * elif cj==0 then kill co jobs with sig
29 * if sig==0 then cause all CO_SERVICE jobs to fail
69 * kill cj (or all jobs if cj==0) in shell co with sig
88 for (cj = co->jobs; cj; cj = cj->next)
H A Dcoexec.c170 for (cj = co->jobs; cj; cj = cj->next)
182 cj->next = co->jobs;
183 co->jobs = cj;
/ast/src/cmd/jcl/
H A DJCL.mk72 query - jobs
/ast/src/cmd/sort/
H A Dmain.c133 "[j:processes|nproc|jobs?Use up to \ajobs\a separate processes to sort "
291 Job_t* jobs; /* multi-proc job table */ member in struct:Sort_s
968 if (!(sp->jobs = vmnewof(Vmheap, 0, Job_t, n, 0)))
987 for (jp = sp->jobs; jp < sp->jobs + n; jp++)
1034 for (jp = sp->jobs; jp < sp->jobs + n; jp++)
1527 jobs(register Sort_t* sp) function
1543 xp = sp->jobs + sp->key->nproc;
1546 for (jp = sp->jobs; j
[all...]
/ast/src/cmd/ksh93/data/
H A Dbuiltins.c31 # include "jobs.h"
108 "jobs", NV_BLTIN|BLT_ENV, bltin(jobs),
159 "[+\apool\a?refers to all jobs in background pool named \apool\a.]" \
198 "[m?When enabled, the shell runs background jobs in a separate process "
214 "[+bgnice?Runs background jobs at lower priorities.]"
844 "[+NAME?bg - resume jobs in the background]"
854 "[+0?If all background jobs are started.]"
855 "[+>0?If one more jobs does not exist or there are no background "
856 "jobs
[all...]
/ast/src/cmd/coshell/
H A Dservice.h301 int jobs; member in struct:__anon66
H A Dshell.c295 state.jobs++;
384 * check for queued jobs on shells hung during open
H A Dcommand.c526 sfprintf(state.string, " jobs %-6d ", state.jobs);
786 sfsprintf(num[2], sizeof(num[2]), "%d/%d", tot.running, state.jobs);

Completed in 67 milliseconds