Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions | Variables
ngx_event.c File Reference
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
Include dependency graph for ngx_event.c:

Go to the source code of this file.

Macros

#define DEFAULT_CONNECTIONS   512

Functions

void ngx_process_events_and_timers (ngx_cycle_t *cycle)
ngx_int_t ngx_handle_read_event (ngx_event_t *rev, ngx_uint_t flags)
ngx_int_t ngx_handle_write_event (ngx_event_t *wev, size_t lowat)
ngx_int_t ngx_send_lowat (ngx_connection_t *c, size_t lowat)

Variables

ngx_module_t ngx_kqueue_module
ngx_module_t ngx_eventport_module
ngx_module_t ngx_devpoll_module
ngx_module_t ngx_epoll_module
ngx_module_t ngx_rtsig_module
ngx_module_t ngx_select_module
sig_atomic_t ngx_event_timer_alarm
ngx_uint_t ngx_event_flags
ngx_event_actions_t ngx_event_actions
ngx_atomic_tngx_connection_counter = &connection_counter
ngx_atomic_tngx_accept_mutex_ptr
ngx_shmtx_t ngx_accept_mutex
ngx_uint_t ngx_use_accept_mutex
ngx_uint_t ngx_accept_events
ngx_uint_t ngx_accept_mutex_held
ngx_msec_t ngx_accept_mutex_delay
ngx_int_t ngx_accept_disabled
ngx_file_t ngx_accept_mutex_lock_file
ngx_module_t ngx_events_module
ngx_event_module_t ngx_event_core_module_ctx
ngx_module_t ngx_event_core_module

Macro Definition Documentation

#define DEFAULT_CONNECTIONS   512

Definition at line 13 of file ngx_event.c.

Function Documentation

ngx_int_t ngx_handle_read_event ( ngx_event_t rev,
ngx_uint_t  flags 
)

Definition at line 283 of file ngx_event.c.

Here is the caller graph for this function:

ngx_int_t ngx_handle_write_event ( ngx_event_t wev,
size_t  lowat 
)

Definition at line 351 of file ngx_event.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void ngx_process_events_and_timers ( ngx_cycle_t cycle)

Definition at line 203 of file ngx_event.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_int_t ngx_send_lowat ( ngx_connection_t c,
size_t  lowat 
)

Definition at line 867 of file ngx_event.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

ngx_int_t ngx_accept_disabled

Definition at line 58 of file ngx_event.c.

ngx_uint_t ngx_accept_events

Definition at line 55 of file ngx_event.c.

ngx_shmtx_t ngx_accept_mutex

Definition at line 53 of file ngx_event.c.

ngx_msec_t ngx_accept_mutex_delay

Definition at line 57 of file ngx_event.c.

ngx_uint_t ngx_accept_mutex_held

Definition at line 56 of file ngx_event.c.

ngx_file_t ngx_accept_mutex_lock_file

Definition at line 59 of file ngx_event.c.

ngx_atomic_t* ngx_accept_mutex_ptr

Definition at line 52 of file ngx_event.c.

ngx_atomic_t* ngx_connection_counter = &connection_counter

Definition at line 49 of file ngx_event.c.

ngx_module_t ngx_devpoll_module

Definition at line 99 of file ngx_devpoll_module.c.

ngx_module_t ngx_epoll_module

Definition at line 172 of file ngx_epoll_module.c.

ngx_event_actions_t ngx_event_actions

Definition at line 45 of file ngx_event.c.

ngx_module_t ngx_event_core_module
Initial value:
{
ngx_event_core_commands,
NULL,
ngx_event_module_init,
ngx_event_process_init,
NULL,
NULL,
NULL,
NULL,
}

Definition at line 186 of file ngx_event.c.

ngx_event_module_t ngx_event_core_module_ctx
Initial value:
{
&event_core_name,
ngx_event_core_create_conf,
ngx_event_core_init_conf,
{ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
}

Definition at line 177 of file ngx_event.c.

ngx_uint_t ngx_event_flags

Definition at line 44 of file ngx_event.c.

sig_atomic_t ngx_event_timer_alarm

Definition at line 40 of file ngx_event.c.

ngx_module_t ngx_eventport_module

Definition at line 183 of file ngx_eventport_module.c.

ngx_module_t ngx_events_module
Initial value:
{
&ngx_events_module_ctx,
ngx_events_commands,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}

Definition at line 103 of file ngx_event.c.

ngx_module_t ngx_kqueue_module

Definition at line 100 of file ngx_kqueue_module.c.

ngx_module_t ngx_rtsig_module

Definition at line 141 of file ngx_rtsig_module.c.

ngx_module_t ngx_select_module

Definition at line 58 of file ngx_select_module.c.

ngx_uint_t ngx_use_accept_mutex

Definition at line 54 of file ngx_event.c.