Searched refs:wait_pid (Results 1 – 3 of 3) sorted by relevance
/bionic/benchmarks/ |
D | unistd_benchmark.cpp | 55 pid_t wait_pid = waitpid(pid, 0, 0); in BM_unistd_fork_call() local 56 if (wait_pid != pid) { in BM_unistd_fork_call() 57 if (wait_pid == -1) { in BM_unistd_fork_call() 62 "waitpid return an unknown pid, expected %d, actual %d", pid, wait_pid); in BM_unistd_fork_call()
|
/bionic/tests/ |
D | malloc_iterate_test.cpp | 259 pid_t wait_pid = TEMP_FAILURE_RETRY(waitpid(pid, nullptr, WNOHANG)); in TEST() local 260 if (wait_pid <= 0) { in TEST() 263 ASSERT_NE(-1, wait_pid) << "Unknown failure in waitpid."; in TEST() 264 ASSERT_EQ(0, wait_pid) << "malloc_disable did not prevent allocation calls."; in TEST()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 315 int wait_pid = waitpid(pid_, &status, WNOHANG); in InternalExec() local 316 if (pid_ == wait_pid) { in InternalExec() 329 int wait_pid = waitpid(pid_, &kill_status, WNOHANG); in InternalExec() local 330 if (wait_pid == pid_ || (time(nullptr) - start_time) > kWaitpidTimeoutSeconds) { in InternalExec()
|