Data Structures | |
struct | child_process |
Macros | |
#define | CTD_PROC_F_EXCL (1 << 0) /* only one process at a time */ |
Enumerations | |
enum | process_type { CTD_PROC_ANY, CTD_PROC_FLUSH, CTD_PROC_COMMIT, CTD_PROC_MAX } |
Functions | |
int | fork_process_new (int type, int flags, void(*cb)(void *data), void *data) |
int | fork_process_delete (int pid) |
void | fork_process_dump (int fd) |
#define CTD_PROC_F_EXCL (1 << 0) /* only one process at a time */ |
Referenced by fork_process_new().
enum process_type |
int fork_process_delete | ( | int | pid | ) |
References child_process::cb, data, child_process::head, and list_for_each_entry_safe.
void fork_process_dump | ( | int | fd | ) |
References buf, CTD_PROC_MAX, child_process::head, list_for_each_entry, child_process::pid, and size.
int fork_process_new | ( | int | type, |
int | flags, | ||
void(*)(void *data) | cb, | ||
void * | data | ||
) |