Lines Matching defs:pid
104 { pid_t pid;
108 pid = wait(&status);
118 tinfo("Child process %d exited (%s)", pid, st);
126 pid_t pid = getpid();
136 tinfo("\tProcess %d(%d): insertion passing %d", p, pid, k);
140 tinfo("\t\tProcess %d(%d): Insert %s, get %0x", p,pid,or->str,os);
143 tinfo("\t\tProcess %d(%d): Just inserted %s but not found", p,pid,or->str);
153 p,pid, or->str, proc->obj[k].str, os);
157 tinfo("Process %d(%d): insertion done", p,pid);
168 tinfo("\tProcess %d(%d): deletion passing %d", p, pid, k);
179 tinfo("\t\tProcess %d(%d): Search %s !NULL",p,pid,or->str);
184 tinfo("Process %d(%d): deletion done", p, pid);
192 pid_t pid[N_PROC];
254 { if((pid[k] = fork()) < 0 )
256 else if(pid[k] > 0) /* parent */
257 tinfo("Just launched process %d (pid=%d)", k, pid[k]);
294 twait(pid, -N_PROC);