| /openbsd-src/regress/sys/kern/fork-exit/ |
| H A D | Makefile | 23 PROG= fork-exit 30 ulimit -p 500 -n 1000; ./fork-exit 32 REGRESS_TARGETS += run-fork-exit 33 run-fork-exit: ${PROG} 34 # fork 300 children and kill them simultaneously as process group 35 ulimit -p 500 -n 1000; ./fork-exit -p 300 37 REGRESS_TARGETS += run-fork-exec-exit 38 run-fork-exec-exit: ${PROG} 39 # fork 300 children, exec sleep programs, and kill process group 40 ulimit -p 500 -n 1000; ./fork [all...] |
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | fork.t | 48 if ($cid = fork) { 68 if ($cid = fork) { 89 my $x = fork; 128 fork() 137 fork() 148 if (fork) { 185 if (fork) { 209 fork() 219 fork() 232 if (fork) { [all …]
|
| /openbsd-src/gnu/usr.bin/perl/pod/ |
| H A D | perlfork.pod | 3 perlfork - Perl's fork() emulation 7 NOTE: As of the 5.8.0 release, fork() emulation has considerably 9 from real fork() that might affect you. See the "BUGS" and 12 Perl provides a fork() keyword that corresponds to the Unix system call 13 of the same name. On most Unix-like platforms where the fork() system 14 call is available, Perl's fork() simply calls it. 16 On some platforms such as Windows where the fork() system call is not 17 available, Perl can be built to emulate fork() at the interpreter level. 19 real fork() at the level of the Perl program, there are certain 25 limitations of the fork() emulation. Note that the issues discussed here [all …]
|
| /openbsd-src/regress/lib/libc/sys/ |
| H A D | t_kill.c | 61 pid = fork(); in ATF_TC_BODY() 92 pid = fork(); in ATF_TC_BODY() 158 ppid = fork(); in ATF_TC_BODY() 165 cpid = fork(); in ATF_TC_BODY() 222 ppid = fork(); in ATF_TC_BODY() 231 cpid = fork(); in ATF_TC_BODY() 269 ppid = fork(); in ATF_TC_BODY() 278 cpid = fork(); in ATF_TC_BODY()
|
| H A D | t_minherit.c | 73 switch (fork()) { in ATF_TC_BODY() 100 switch (fork()) { in ATF_TC_BODY() 133 switch (fork()) { in ATF_TC_BODY() 160 switch (fork()) { in ATF_TC_BODY()
|
| H A D | t_waitid.c | 75 switch (pid = fork()) { in ATF_TC_BODY() 106 switch (pid = fork()) { in ATF_TC_BODY() 139 switch (pid = fork()) { in ATF_TC_BODY() 173 switch (pid = fork()) { in ATF_TC_BODY() 226 switch (pid = fork()) { in ATF_TC_BODY()
|
| H A D | t_chroot.c | 67 pid = fork(); in ATF_TC_BODY() 150 pid = fork(); in ATF_TC_BODY() 195 pid = fork(); in ATF_TC_BODY() 280 pid = fork(); in ATF_TC_BODY()
|
| H A D | t_fork.c | 51 #define FORK fork 161 watcher = fork(); in raise_raw() 165 watcher = fork(); in raise_raw() 297 child2 = fork(); in nested_raw() 349 NESTED(nested_fork, fork, 0)
|
| H A D | t_setrlimit.c | 198 pid = fork(); in ATF_TC_BODY() 263 pid = fork(); in ATF_TC_BODY() 317 pid = fork(); in ATF_TC_BODY() 370 pid = fork(); in ATF_TC_BODY() 422 pid = fork(); in ATF_TC_BODY() 436 cpid = fork(); in ATF_TC_BODY()
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/config/pa/ |
| H A D | hpux11w.mh | 3 # FIXME: cagney/2002-04-07: gdb/366: The -Dvfork=fork hack below is 4 # stop GDB hanging on HP/UX. For some reason vfork() hangs yet fork() 7 MH_CFLAGS = -Dvfork=fork 10 NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infttrace.o hpread.o pa64soli…
|
| H A D | hpux11.mh | 3 # FIXME: cagney/2002-04-07: gdb/366: The -Dvfork=fork hack below is 4 # stop GDB hanging on HP/UX. For some reason vfork() hangs yet fork() 7 MH_CFLAGS = -Dvfork=fork 10 NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infttrace.o somread.o hpread.…
|
| H A D | hpux1020.mh | 3 # FIXME: cagney/2002-04-07: gdb/366: The -Dvfork=fork hack below is 4 # stop GDB hanging on HP/UX. For some reason vfork() hangs yet fork() 7 MH_CFLAGS = -Dvfork=fork 10 NATDEPFILES= hppah-nat.o corelow.o core-aout.o inftarg.o fork-child.o infptrace.o somread.o hpread.…
|
| /openbsd-src/lib/libc/sys/ |
| H A D | w_fork.c | 39 WRAP(fork)(void) in WRAP() argument 51 newid = fork(); in WRAP() 65 newid = fork(); in WRAP() 83 DEF_WRAP(fork);
|
| /openbsd-src/regress/usr.bin/lastcomm/ |
| H A D | Makefile | 42 REGRESS_TARGETS += run-fork 43 run-fork: 45 cp -f /bin/sh regress-fork 46 ./regress-fork -c '( : ) &' 47 lastcomm regress-fork | grep -q ' -F '
|
| /openbsd-src/usr.sbin/acme-client/ |
| H A D | main.c | 210 if ((pids[COMP_NET] = fork()) == -1) in main() 240 if ((pids[COMP_KEY] = fork()) == -1) in main() 262 if ((pids[COMP_ACCOUNT] = fork()) == -1) in main() 282 if ((pids[COMP_CHALLENGE] = fork()) == -1) in main() 300 if ((pids[COMP_CERT] = fork()) == -1) in main() 317 if ((pids[COMP_FILE] = fork()) == -1) in main() 337 if ((pids[COMP_DNS] = fork()) == -1) in main() 351 if ((pids[COMP_REVOKE] = fork()) == -1) in main()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/regression/ |
| H A D | fork_first.t | 11 my $pid = fork; 12 die "Failed to fork: $!" unless defined $pid; 17 ok(1, "Pass fork");
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/acceptance/ |
| H A D | try_it_fork.t | 21 plan(0, skip_all => 'System cannot fork') unless CAN_REALLY_FORK(); 26 my $pid = fork; 27 die "Failed to fork" unless defined $pid;
|
| /openbsd-src/regress/sys/kern/ptrace2/ |
| H A D | ptrace_test.c | 143 ATF_REQUIRE((child = fork()) != -1); in ATF_TC_BODY() 189 ATF_REQUIRE((child = fork()) != -1); in ATF_TC_BODY() 239 ATF_REQUIRE((child = fork()) != -1); in ATF_TC_BODY() 253 ATF_REQUIRE((debugger = fork()) != -1); in ATF_TC_BODY() 333 ATF_REQUIRE((child = fork()) != -1); in ATF_TC_BODY() 347 ATF_REQUIRE((debugger = fork()) != -1); in ATF_TC_BODY() 356 CHILD_REQUIRE((fpid = fork()) != -1); in ATF_TC_BODY()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/tests/ |
| H A D | enable_disable.cpp | 15 pid_t Pid = fork(); in TEST_F() 35 Pid = fork(); in TEST_F() 75 pid_t Pid = fork(); in TEST_F()
|
| /openbsd-src/gnu/lib/libiberty/src/ |
| H A D | vfork.c | 16 extern int fork (void); 21 return (fork ()); in vfork()
|
| /openbsd-src/regress/sys/kern/futex/ |
| H A D | futex.c | 91 pid = fork(); in main() 106 pid = fork(); in main() 133 pid = fork(); in main() 148 pid = fork(); in main()
|
| /openbsd-src/regress/sys/kern/flock/ |
| H A D | flock.c | 125 pid = fork(); in test2() 196 pid = fork(); in test3() 265 pid = fork(); in test4() 350 pid = fork(); in test5() 436 pid1 = fork(); in test6() 452 pid2 = fork(); in test6() 537 pid = fork(); in test7() 609 pid = fork(); in test8() 686 pid = fork(); in test9() 758 pid = fork(); in test10() [all …]
|
| /openbsd-src/gnu/usr.sbin/mkhybrid/src/libhfs_iso/ |
| H A D | file.c | 38 void f_selectfork(hfsfile *file, int fork) in f_selectfork() argument 40 if (fork == 0) in f_selectfork() 42 file->fork = fkData; in f_selectfork() 47 file->fork = fkRsrc; in f_selectfork() 62 if (file->fork == fkData) in f_getptrs() 244 r_makeextkey(&key, file->fork, file->cat.u.fil.filFlNum, end); in f_alloc()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
| H A D | 991026-2.c | 2 extern __pid_t fork (void) ; 18 switch(fork()) { in detach()
|
| /openbsd-src/gnu/usr.bin/perl/ext/POSIX/t/ |
| H A D | waitpid.t | 4 print "1..0 # Skip: no fork\n"; 33 my $child_pid = fork(); 34 fail("fork failed") unless defined $child_pid;
|