diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-02-18 15:45:21 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-02-18 15:45:21 +0000 |
| commit | 8ae18a10d6c7c94fbb4fa04a64c6fa1e2a38fe16 (patch) | |
| tree | b6141281a8b432f4ccfeb6f6f670a0e38b9e01b4 /src/event | |
| parent | 22a7c50463654139e14b4645a1ac8e35feec9900 (diff) | |
| download | nginx-8ae18a10d6c7c94fbb4fa04a64c6fa1e2a38fe16.tar.gz nginx-8ae18a10d6c7c94fbb4fa04a64c6fa1e2a38fe16.tar.bz2 | |
nginx-0.0.2-2004-02-18-18:45:21 import
Diffstat (limited to 'src/event')
| -rw-r--r-- | src/event/modules/ngx_rtsig_module.c | 4 | ||||
| -rw-r--r-- | src/event/ngx_event.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/event/modules/ngx_rtsig_module.c b/src/event/modules/ngx_rtsig_module.c index 32c544a8d..99b255560 100644 --- a/src/event/modules/ngx_rtsig_module.c +++ b/src/event/modules/ngx_rtsig_module.c @@ -40,7 +40,7 @@ static void ngx_rtsig_done(ngx_cycle_t *cycle); static int ngx_rtsig_add_connection(ngx_connection_t *c); static int ngx_rtsig_del_connection(ngx_connection_t *c, u_int flags); static int ngx_rtsig_process_events(ngx_log_t *log); -static int ngx_rtsig_process_overlow(ngx_log_t *log); +static int ngx_rtsig_process_overflow(ngx_log_t *log); static void *ngx_rtsig_create_conf(ngx_cycle_t *cycle); static char *ngx_rtsig_init_conf(ngx_cycle_t *cycle, void *conf); @@ -310,7 +310,7 @@ int ngx_rtsig_process_events(ngx_log_t *log) } -static int ngx_rtsig_process_overlow(ngx_log_t *log) +static int ngx_rtsig_process_overflow(ngx_log_t *log) { if (ngx_poll_module_ctx.actions.process(log) == NGX_OK) { ngx_event_actions = ngx_rtsig_module_ctx.actions; diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h index 1a05751a1..83ce81436 100644 --- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h @@ -287,6 +287,7 @@ extern ngx_event_actions_t ngx_event_actions; #define NGX_WRITE_EVENT POLLOUT #define NGX_LEVEL_EVENT 0 +#define NGX_ONESHOT_EVENT 1 #elif (HAVE_EPOLL) |
