/src/usr.bin/make/ |
meta.h | 41 struct Job; 46 void meta_job_start(struct Job *, GNode *); 47 void meta_job_child(struct Job *); 48 void meta_job_parent(struct Job *, pid_t); 49 int meta_job_fd(struct Job *) MAKE_ATTR_USE; 50 int meta_job_event(struct Job *) MAKE_ATTR_USE; 51 void meta_job_error(struct Job *, GNode *, bool, int); 52 void meta_job_output(struct Job *, const char *, size_t); 54 int meta_job_finish(struct Job *);
|
job.h | 1 /* $NetBSD: job.h,v 1.85 2025/07/06 07:11:31 rillig Exp $ */ 34 * from: @(#)job.h 8.1 (Berkeley) 6/6/93 73 * from: @(#)job.h 8.1 (Berkeley) 6/6/93 81 typedef struct Job Job; 112 void Job_FlagsToString(const Job *, char *, size_t); 115 struct BuildMon *Job_BuildMon(Job *) MAKE_ATTR_USE; 117 GNode *Job_Node(Job *) MAKE_ATTR_USE; 118 int Job_Pid(Job *) MAKE_ATTR_USE;
|
trace.h | 50 void Trace_Log(TrEvent, Job *);
|
job.c | 1 /* $NetBSD: job.c,v 1.519 2025/08/04 15:40:39 sjg Exp $ */ 93 * job table is empty. 119 #include "job.h" 126 /* "@(#)job.c 8.2 (Berkeley) 3/19/94" */ 127 MAKE_RCSID("$NetBSD: job.c,v 1.519 2025/08/04 15:40:39 sjg Exp $"); 155 JOB_ST_FREE, /* Job is available */ 156 JOB_ST_SET_UP, /* Job is allocated but otherwise invalid */ 157 JOB_ST_RUNNING, /* Job is running, pid valid */ 158 JOB_ST_FINISHED /* Job is done (i.e. after SIGCHLD) */ 169 * A Job manages the shell commands that are run to create a single target 575 const Job *job; local in function:JobTable_Dump 680 Job *job; local in function:JobCondPassSig 794 Job *job; local in function:JobFindPid 1676 Job *job; local in function:Job_Make 1906 Job *job; local in function:JobReapChild 1966 Job *job; local in function:ContinueJobs 1982 Job *job; local in function:Job_CatchOutput 2397 Job *job; local in function:JobInterrupt 2475 Job *job; local in function:Job_AbortAll [all...] |
trace.c | 42 * Trace_Log Log an event about a particular make job. 48 #include "job.h" 61 "JOB", 84 Trace_Log(TrEvent event, Job *job) 104 if (job != NULL) { 105 GNode *gn = Job_Node(job); 108 Job_FlagsToString(job, flags, sizeof flags); 110 gn->name, Job_Pid(job), flags, type);
|
meta.c | 47 #include "job.h" 637 BM(Job *job) 640 return job != NULL ? Job_BuildMon(job) : &Mybm; 644 * In each case below we allow for job==NULL 647 meta_job_start(Job *job, GNode *gn) 651 pbm = BM(job); 655 if (job == NULL [all...] |
/src/bin/ksh/ |
jobs.c | 4 * Process and job control 109 #define JP_MEDIUM 2 /* print [job-num] -/+ command */ 110 #define JP_LONG 3 /* print [job-num] -/+ pid command */ 117 /* Job.flags values */ 118 #define JF_STARTED 0x001 /* set when all processes in job are started */ 119 #define JF_WAITING 0x002 /* set if j_waitj() is waiting on job */ 131 typedef struct job Job; 132 struct job { struct 133 Job *next; /* next job in list * 134 int job; \/* job number: %n *\/ member in struct:job 1548 int len, job = 0; local in function:j_lookup [all...] |
/src/usr.bin/make/unit-tests/ |
job-flags.mk | 1 # $NetBSD: job-flags.mk,v 1.2 2020/11/14 13:17:47 rillig Exp $ 3 # Tests for Job.flags, which are controlled by special source dependencies
|
opt-jobs-no-action.mk | 8 # in compat.c and once in job.c. 60 # not handled by the Job module but by the Compat module, see the
|
Makefile | 226 TESTS+= job-flags 227 TESTS+= job-output 228 TESTS+= job-output-long-lines 229 TESTS+= job-output-null 531 SED_CMDS.job-output-long-lines= \ 532 ${:D Job separators on their own line are ok. } \ 533 -e '/^--- job-[ab] ---$$/d' \ 538 ${:D The following lines should rather not occur since the job } \ 540 -e '/^aa*--- job-b ---$$/d' \ 541 -e '/^bb*--- job-a ---$$/d [all...] |