Groonga 3.0.9 Source Code Document
|
Go to the source code of this file.
Data Structures | |
struct | ngx_process_t |
struct | ngx_exec_ctx_t |
Macros | |
#define | NGX_INVALID_PID -1 |
#define | NGX_MAX_PROCESSES 1024 |
#define | NGX_PROCESS_NORESPAWN -1 |
#define | NGX_PROCESS_JUST_SPAWN -2 |
#define | NGX_PROCESS_RESPAWN -3 |
#define | NGX_PROCESS_JUST_RESPAWN -4 |
#define | NGX_PROCESS_DETACHED -5 |
#define | ngx_getpid getpid |
#define | ngx_log_pid ngx_pid |
#define | ngx_sched_yield() usleep(1) |
Typedefs | |
typedef pid_t | ngx_pid_t |
typedef void(* | ngx_spawn_proc_pt )(ngx_cycle_t *cycle, void *data) |
Functions | |
ngx_pid_t | ngx_spawn_process (ngx_cycle_t *cycle, ngx_spawn_proc_pt proc, void *data, char *name, ngx_int_t respawn) |
ngx_pid_t | ngx_execute (ngx_cycle_t *cycle, ngx_exec_ctx_t *ctx) |
ngx_int_t | ngx_init_signals (ngx_log_t *log) |
void | ngx_debug_point (void) |
Variables | |
int | ngx_argc |
char ** | ngx_argv |
char ** | ngx_os_argv |
ngx_pid_t | ngx_pid |
ngx_socket_t | ngx_channel |
ngx_int_t | ngx_process_slot |
ngx_int_t | ngx_last_process |
ngx_process_t | ngx_processes [NGX_MAX_PROCESSES] |
#define ngx_getpid getpid |
Definition at line 56 of file ngx_process.h.
#define NGX_INVALID_PID -1 |
Definition at line 18 of file ngx_process.h.
#define ngx_log_pid ngx_pid |
Definition at line 59 of file ngx_process.h.
#define NGX_MAX_PROCESSES 1024 |
Definition at line 47 of file ngx_process.h.
#define NGX_PROCESS_DETACHED -5 |
Definition at line 53 of file ngx_process.h.
#define NGX_PROCESS_JUST_RESPAWN -4 |
Definition at line 52 of file ngx_process.h.
#define NGX_PROCESS_JUST_SPAWN -2 |
Definition at line 50 of file ngx_process.h.
#define NGX_PROCESS_NORESPAWN -1 |
Definition at line 49 of file ngx_process.h.
#define NGX_PROCESS_RESPAWN -3 |
Definition at line 51 of file ngx_process.h.
#define ngx_sched_yield | ( | ) | usleep(1) |
Definition at line 73 of file ngx_process.h.
typedef pid_t ngx_pid_t |
Definition at line 16 of file ngx_process.h.
typedef void(* ngx_spawn_proc_pt)(ngx_cycle_t *cycle, void *data) |
Definition at line 20 of file ngx_process.h.
void ngx_debug_point | ( | void | ) |
ngx_pid_t ngx_execute | ( | ngx_cycle_t * | cycle, |
ngx_exec_ctx_t * | ctx | ||
) |
Definition at line 261 of file ngx_process.c.
Definition at line 284 of file ngx_process.c.
ngx_pid_t ngx_spawn_process | ( | ngx_cycle_t * | cycle, |
ngx_spawn_proc_pt | proc, | ||
void * | data, | ||
char * | name, | ||
ngx_int_t | respawn | ||
) |
Definition at line 87 of file ngx_process.c.
int ngx_argc |
Definition at line 29 of file ngx_process.c.
char** ngx_argv |
Definition at line 30 of file ngx_process.c.
ngx_socket_t ngx_channel |
Definition at line 34 of file ngx_process.c.
ngx_int_t ngx_last_process |
Definition at line 35 of file ngx_process.c.
char** ngx_os_argv |
Definition at line 31 of file ngx_process.c.
ngx_pid_t ngx_pid |
Definition at line 36 of file ngx_process_cycle.c.
ngx_int_t ngx_process_slot |
Definition at line 33 of file ngx_process.c.
ngx_process_t ngx_processes[NGX_MAX_PROCESSES] |
Definition at line 36 of file ngx_process.c.