Home
last modified time | relevance | path

Searched refs:pidlist (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Python/
Dthread_sgi.h22 static struct pidlist { struct
25 } pidlist[MAXPROC]; /* PIDs of other threads; protected by count_lock */ argument
87 if (pidlist[i].parent == mypid && (pid = pidlist[i].child) > 0) { in clean_threads()
91 pidlist[i] = pidlist[--maxpidindex]; in clean_threads()
94 if (pidlist[j].parent == pid) in clean_threads()
95 pidlist[j].child = -1; in clean_threads()
104 if (pidlist[i].child == -1) { in clean_threads()
105 pidlist[i] = pidlist[--maxpidindex]; in clean_threads()
159 pidlist[maxpidindex].parent = getpid(); in PyThread_start_new_thread()
160 pidlist[maxpidindex++].child = success; in PyThread_start_new_thread()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir09.c66 int *pidlist, child_count; variable
162 if ((pidlist = malloc((child_groups * NCHILD) * sizeof(int))) == in runtest()
294 pidlist[children] = pid; in getchild()
437 if (pidlist[j] > 0) { in massmurder()
438 if (kill(pidlist[j], SIGTERM) < 0) { in massmurder()
/external/curl/tests/
Dftp.pm160 my ($verbose, $pidlist) = @_;
166 return if(not defined($pidlist));
169 @requested = split(' ', $pidlist);
Druntests.pl705 my ($server, $pidlist) = @_;
742 $pidlist .= " $run{$server}";
747 killpid($verbose, $pidlist);
4107 my $pidlist;
4110 $pidlist .= "$run{$server} ";
4115 killpid($verbose, $pidlist);
4617 my $pidlist;
4631 $pidlist .= "$run{$server} ";
4636 killpid($verbose, $pidlist);
/external/ltp/testcases/kernel/fs/ftest/
Dftest04.c78 static int pidlist[MAXCHILD]; variable
159 pidlist[i] = child; in runtest()
487 if (pidlist[i]) in term()
488 kill(pidlist[i], SIGTERM); in term()
Dftest06.c89 static int pidlist[MAXCHILD]; variable
168 pidlist[k] = child; in main()
443 if (pidlist[i]) in term()
444 kill(pidlist[i], SIGTERM); in term()
Dftest08.c86 static int pidlist[MAXCHILD]; variable
172 pidlist[i] = child; in runtest()
525 if (pidlist[i]) in term()
526 kill(pidlist[i], SIGTERM); in term()
Dftest02.c83 static int pidlist[MAXCHILD]; variable
155 pidlist[k] = child; in main()
426 if (pidlist[i]) in term()
427 kill(pidlist[i], SIGTERM); in term()
Dftest01.c90 static int pidlist[MAXCHILD]; variable
175 pidlist[i] = child; in runtest()
544 if (pidlist[i]) in term()
545 kill(pidlist[i], SIGTERM); in term()
Dftest05.c94 static int pidlist[MAXCHILD]; variable
182 pidlist[i] = child; in runtest()
537 if (pidlist[i]) /* avoid embarassment */ in term()
538 kill(pidlist[i], SIGTERM); in term()
Dftest07.c101 static int pidlist[MAXCHILD]; variable
197 pidlist[i] = child; in runtest()
619 if (pidlist[i]) in term()
620 kill(pidlist[i], SIGTERM); in term()
Dftest03.c95 static int pidlist[MAXCHILD]; variable
195 pidlist[i] = child; in runtest()
621 if (pidlist[i]) in term()
622 kill(pidlist[i], SIGTERM); in term()