Home | History | Annotate | Download | only in Python

Lines Matching refs:pidlist

22 static struct pidlist {
25 } pidlist[MAXPROC]; /* PIDs of other threads; protected by count_lock */
26 static int maxpidindex; /* # of PIDs in pidlist */
87 if (pidlist[i].parent == mypid && (pid = pidlist[i].child) > 0) {
91 pidlist[i] = pidlist[--maxpidindex];
94 if (pidlist[j].parent == pid)
95 pidlist[j].child = -1;
104 if (pidlist[i].child == -1) {
105 pidlist[i] = pidlist[--maxpidindex];
159 pidlist[maxpidindex].parent = getpid();
160 pidlist[maxpidindex++].child = success;
161 dprintf(("pidlist[%d] = %d\n",