Groonga 3.0.9 Source Code Document
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Functions | Variables
ngx_cycle.h File Reference
#include <ngx_config.h>
#include <ngx_core.h>
Include dependency graph for ngx_cycle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ngx_shm_zone_s
struct  ngx_cycle_s
struct  ngx_core_conf_t
struct  ngx_core_tls_t

Macros

#define NGX_CYCLE_POOL_SIZE   NGX_DEFAULT_POOL_SIZE
#define NGX_DEBUG_POINTS_STOP   1
#define NGX_DEBUG_POINTS_ABORT   2
#define ngx_is_init_cycle(cycle)   (cycle->conf_ctx == NULL)

Typedefs

typedef struct ngx_shm_zone_s ngx_shm_zone_t
typedef ngx_int_t(* ngx_shm_zone_init_pt )(ngx_shm_zone_t *zone, void *data)

Functions

ngx_cycle_tngx_init_cycle (ngx_cycle_t *old_cycle)
ngx_int_t ngx_create_pidfile (ngx_str_t *name, ngx_log_t *log)
void ngx_delete_pidfile (ngx_cycle_t *cycle)
ngx_int_t ngx_signal_process (ngx_cycle_t *cycle, char *sig)
void ngx_reopen_files (ngx_cycle_t *cycle, ngx_uid_t user)
char ** ngx_set_environment (ngx_cycle_t *cycle, ngx_uint_t *last)
ngx_pid_t ngx_exec_new_binary (ngx_cycle_t *cycle, char *const *argv)
uint64_t ngx_get_cpu_affinity (ngx_uint_t n)
ngx_shm_zone_tngx_shared_memory_add (ngx_conf_t *cf, ngx_str_t *name, size_t size, void *tag)

Variables

volatile ngx_cycle_tngx_cycle
ngx_array_t ngx_old_cycles
ngx_module_t ngx_core_module
ngx_uint_t ngx_test_config
ngx_uint_t ngx_quiet_mode

Macro Definition Documentation

#define NGX_CYCLE_POOL_SIZE   NGX_DEFAULT_POOL_SIZE

Definition at line 17 of file ngx_cycle.h.

#define NGX_DEBUG_POINTS_ABORT   2

Definition at line 22 of file ngx_cycle.h.

#define NGX_DEBUG_POINTS_STOP   1

Definition at line 21 of file ngx_cycle.h.

#define ngx_is_init_cycle (   cycle)    (cycle->conf_ctx == NULL)

Definition at line 117 of file ngx_cycle.h.

Typedef Documentation

typedef ngx_int_t(* ngx_shm_zone_init_pt)(ngx_shm_zone_t *zone, void *data)

Definition at line 27 of file ngx_cycle.h.

Definition at line 25 of file ngx_cycle.h.

Function Documentation

ngx_int_t ngx_create_pidfile ( ngx_str_t name,
ngx_log_t log 
)

Definition at line 969 of file ngx_cycle.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ngx_delete_pidfile ( ngx_cycle_t cycle)

Definition at line 1014 of file ngx_cycle.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_pid_t ngx_exec_new_binary ( ngx_cycle_t cycle,
char *const *  argv 
)

Definition at line 572 of file nginx.c.

Here is the call graph for this function:

Here is the caller graph for this function:

uint64_t ngx_get_cpu_affinity ( ngx_uint_t  n)

Definition at line 1323 of file nginx.c.

ngx_cycle_t* ngx_init_cycle ( ngx_cycle_t old_cycle)

Definition at line 43 of file ngx_cycle.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ngx_reopen_files ( ngx_cycle_t cycle,
ngx_uid_t  user 
)

Definition at line 1116 of file ngx_cycle.c.

Here is the call graph for this function:

Here is the caller graph for this function:

char** ngx_set_environment ( ngx_cycle_t cycle,
ngx_uint_t last 
)

Definition at line 473 of file nginx.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_shm_zone_t* ngx_shared_memory_add ( ngx_conf_t cf,
ngx_str_t name,
size_t  size,
void *  tag 
)

Definition at line 1245 of file ngx_cycle.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_int_t ngx_signal_process ( ngx_cycle_t cycle,
char *  sig 
)

Definition at line 1031 of file ngx_cycle.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

ngx_module_t ngx_core_module

Definition at line 171 of file nginx.c.

volatile ngx_cycle_t* ngx_cycle

Definition at line 21 of file ngx_cycle.c.

ngx_array_t ngx_old_cycles

Definition at line 22 of file ngx_cycle.c.

ngx_uint_t ngx_quiet_mode

Definition at line 28 of file ngx_cycle.c.

ngx_uint_t ngx_test_config

Definition at line 27 of file ngx_cycle.c.