|
Tor 0.4.9.3-alpha-dev
|
Headers for waitpid.c. More...
Go to the source code of this file.
Functions | |
| waitpid_callback_t * | set_waitpid_callback (pid_t pid, void(*fn)(int, void *), void *arg) |
| void | clear_waitpid_callback (waitpid_callback_t *ent) |
| void | notify_pending_waitpid_callbacks (void) |
| void clear_waitpid_callback | ( | waitpid_callback_t * | ent | ) |
Cancel a waitpid_callback_t, or clean up after one has triggered. Releases all storage held by ent.
Definition at line 98 of file waitpid.c.
Referenced by process_unix_free_(), and process_unix_waitpid_callback().
| void notify_pending_waitpid_callbacks | ( | void | ) |
Use waitpid() to wait for all children that have exited, and invoke any callbacks registered for them.
Definition at line 141 of file waitpid.c.
Referenced by process_signal().