Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 7 of 7) sorted by relevance

/libevent-2.1.12/test/
H A Dtinytest.c253 pid_t pid; in testcase_run_forked_()
261 pid = fork(); in testcase_run_forked_()
265 if (!pid) { in testcase_run_forked_()
294 waitpid(pid, &status, 0); in testcase_run_forked_()
H A Dregress_main.c186 pid_t pid = fork(); in regress_fork() local
190 return pid; in regress_fork()
H A Dregress_thread.c189 pid_t pid; in thread_basic() local
201 if ((pid = fork()) == 0) { in thread_basic()
216 if (waitpid(pid, &status, 0) == -1) in thread_basic()
H A Dregress.c901 static void fork_wait_check(int pid) in fork_wait_check() argument
908 if ((waitpid(pid, &status, WNOWAIT) == -1 && errno == EINVAL) && in fork_wait_check()
912 waitpid(pid, &status, 0) == -1) { in fork_wait_check()
928 pid_t pid; in test_fork() local
963 if ((pid = regress_fork()) == 0) { in test_fork()
1002 fork_wait_check(pid); in test_fork()
H A Dregress_util.c571 pid_t pid; in check_error_logging() local
575 if ((pid = regress_fork()) == 0) { in check_error_logging()
/libevent-2.1.12/
H A Darc4random.c406 pid_t pid = getpid(); in arc4_stir_if_needed() local
408 if (arc4_count <= 0 || !rs_initialized || arc4_stir_pid != pid) in arc4_stir_if_needed()
410 arc4_stir_pid = pid; in arc4_stir_if_needed()
H A Dkqueue.c85 pid_t pid; member
138 kqueueop->pid = getpid(); in kq_init()
438 if (kqop->kq >= 0 && kqop->pid == getpid()) in kqop_free()