Home
last modified time | relevance | path

Searched refs:pidfds (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Doc/library/
Dasyncio-policy.rst262 This implementation polls process file descriptors (pidfds) to await child
267 event loop. The main disadvantage is that pidfds are specific to Linux, and
/external/trace-cmd/tracecmd/
Dtrace-record.c1315 int *pidfds; in trace_wait_for_processes() local
1318 pidfds = malloc(sizeof(int) * instance->nr_process_pids); in trace_wait_for_processes()
1319 if (!pidfds) in trace_wait_for_processes()
1329 pidfds[nr_fds] = pidfd_open(pid->pid, 0); in trace_wait_for_processes()
1332 if (pidfds[nr_fds] < 0 && errno == ESRCH) { in trace_wait_for_processes()
1335 } else if (pidfds[nr_fds] < 0) { in trace_wait_for_processes()
1345 if (trace_waitpidfd(pidfds[i])) { in trace_wait_for_processes()
1353 close(pidfds[i]); in trace_wait_for_processes()
1354 free(pidfds); in trace_wait_for_processes()