Home
last modified time | relevance | path

Searched refs:pid2 (Results 1 – 13 of 13) sorted by relevance

/openbsd/src/regress/sys/kern/kqueue/
Dkqueue-process.c30 pid_t pid, pid2; in do_process() local
75 pid2 = -1; in do_process()
84 pid2 = ke.ident; in do_process()
85 fprintf(stderr, "child %d (from %d)\n", pid2, pid); in do_process()
100 ASSX(pid2 != -1); in do_process()
130 ASSX((pid_t)ke.ident == pid2); in do_process()
131 fprintf(stderr, "child-child exec/exit %d\n", pid2); in do_process()
/openbsd/src/gnu/usr.bin/perl/t/op/
Dgetpid.t30 my $pid2 : shared = 0;
33 new threads( sub { ($pid2, $ppid2) = ($$, getppid()); } ) -> join();
47 … isnt($pid, $pid2, "getpid() in a thread is different from the parent on this non-POSIX system");
50 is($pid, $pid2, 'getpid() in a thread is the same as in the parent');
Dgetppid.t62 my $pid2 = fork; defined $pid2 or die "fork: $!\n";
63 if ($pid2) {
/openbsd/src/gnu/usr.bin/perl/t/io/
Dopenpid.t62 ok( $pid2 = open(FH2, "$cmd2 |"), ' second' );
66 ok( $pid2 = open(FH2, "-|", @cmd2), ' second' );
74 print "# pids were $pid1, $pid2, $pid3, $pid4\n";
91 $kill_cnt = kill $killsig, $pid2, $pid3;
/openbsd/src/regress/sys/kern/syscall_segment/main/
Dsyscall_main.c16 pid_t pid2 = gadget_getpid(); in main() local
17 if (pid == pid2) in main()
/openbsd/src/regress/sys/kern/syscall_segment/lib/
Dsyscall_library.c17 pid_t pid2 = gadget_getpid(); in main() local
18 if (pid == pid2) in main()
/openbsd/src/usr.sbin/pkg_add/OpenBSD/
DPackageRepository.pm192 if (defined $object->{pid2}) {
194 kill HUP => $object->{pid2};
197 waitpid($object->{pid2}, 0);
675 my $pid2 = fork();
676 $self->did_it_fork($pid2);
677 if ($pid2) {
678 $object->{pid2} = $pid2;
DPackageLocation.pm273 delete $self->{pid2};
/openbsd/src/gnu/lib/libiberty/src/testsuite/
Dtest-pexecute.c380 int pid1, pid2; in main() local
401 pid2 = pexecute ("./test-pexecute", subargv, "test-pexecute", "temp", in main()
403 if (pid2 < 0) in main()
415 if (pwait (pid2, &status, 0) < 0) in main()
/openbsd/src/regress/sys/kern/flock/
Dflock.c422 int pid1, pid2; in test6() local
452 pid2 = fork(); in test6()
453 if (pid2 < 0) in test6()
456 if (pid2 == 0) { in test6()
490 safe_kill(pid2, SIGTERM); in test6()
491 safe_waitpid(pid2); in test6()
/openbsd/src/gnu/usr.bin/perl/
Dutil.c2617 int pid2, status; in Perl_my_popen_list() local
2622 pid2 = wait4pid(pid, &status, 0); in Perl_my_popen_list()
2623 } while (pid2 == -1 && errno == EINTR); in Perl_my_popen_list()
2800 int pid2, status; in Perl_my_popen() local
2805 pid2 = wait4pid(pid, &status, 0); in Perl_my_popen()
2806 } while (pid2 == -1 && errno == EINTR); in Perl_my_popen()
3143 Pid_t pid2 = 0; in Perl_my_pclose() local
3174 pid2 = wait4pid(pid, &status, 0); in Perl_my_pclose()
3175 } while (pid2 == -1 && errno == EINTR); in Perl_my_pclose()
3182 ? pid2 < 0 ? pid2 : status == 0 ? 0 : (errno = 0, status) in Perl_my_pclose()
/openbsd/src/gnu/lib/libreadline/
Daclocal.m41222 int pid1, pid2, fds[2];
1240 switch (pid2 = fork()) {
1249 setpgid(pid2, pid1);
/openbsd/src/gnu/usr.bin/binutils/gdb/
Daix-thread.c596 int pid1, pid2; in ptid_cmp() local