Tor
0.4.7.0-alpha-dev
|
Convenience structures for handlers for handling waitpid(). More...
#include "orconfig.h"
#include "lib/process/waitpid.h"
#include "lib/log/log.h"
#include "lib/log/util_bug.h"
#include "lib/malloc/malloc.h"
#include "ext/ht.h"
#include <string.h>
Go to the source code of this file.
Data Structures | |
struct | waitpid_callback_t |
Functions | |
static unsigned int | process_map_entry_hash_ (const waitpid_callback_t *ent) |
static unsigned int | process_map_entries_eq_ (const waitpid_callback_t *a, const waitpid_callback_t *b) |
static | HT_HEAD (HT_PROTOTYPE(process_map, HT_PROTOTYPE(waitpid_callback_t) |
void | clear_waitpid_callback (waitpid_callback_t *ent) |
static void | notify_waitpid_callback_by_pid (pid_t pid, int status) |
void | notify_pending_waitpid_callbacks (void) |
Convenience structures for handlers for handling waitpid().
Definition in file waitpid.c.
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_().
void notify_pending_waitpid_callbacks | ( | void | ) |