internal fork functions and process table. More...
#include "pt.h"#include "tcp_init.h"#include "sr_module.h"#include "socket_info.h"#include "rand/fastrand.h"#include "daemonize.h"#include <stdio.h>#include <time.h>
Go to the source code of this file.
Definition in file pt.c.
| int fork_process | ( | int | child_id, | |
| char * | desc, | |||
| int | make_sock | |||
| ) |
| child_id | - rank, if equal to PROC_NOCHLDINIT init_child will not be called for the new forked process (see sr_module.h) | |
| desc | - text description for the process table | |
| make_sock | - if to create a unix socket pair for it |
Definition at line 261 of file pt.c.
References daemon_status_on_fork_cleanup(), PROC_NOCHLDINIT, and process_no.
Referenced by child_init(), fork_basic_timer(), fork_basic_utimer(), fork_local_timer_process(), fork_sync_timer(), fork_sync_utimer(), mi_child_init(), and mod_child_init().


1.7.1