From be3c2b69a4c18e3810b1ed1ba407f0be37230c27 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 4 Jul 2003 06:03:52 +0000 Subject: nginx-0.0.1-2003-07-04-10:03:52 import --- src/event/modules/ngx_kqueue_module.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/event/modules') diff --git a/src/event/modules/ngx_kqueue_module.c b/src/event/modules/ngx_kqueue_module.c index 17e991eef..51df43bb2 100644 --- a/src/event/modules/ngx_kqueue_module.c +++ b/src/event/modules/ngx_kqueue_module.c @@ -72,6 +72,10 @@ ngx_event_module_t ngx_kqueue_module_ctx = { NULL, /* delete an connection */ ngx_kqueue_process_events, /* process the events */ ngx_kqueue_init, /* init the events */ +#if 0 + ngx_kqueue_commit, /* commit the events */ + ngx_kqueue_rollback, /* rollback the events */ +#endif ngx_kqueue_done /* done the events */ } @@ -82,7 +86,12 @@ ngx_module_t ngx_kqueue_module = { &ngx_kqueue_module_ctx, /* module context */ ngx_kqueue_commands, /* module directives */ NGX_EVENT_MODULE, /* module type */ - NULL /* init module */ + NULL, /* init module */ + NULL, /* commit module */ + NULL, /* rollback module */ +#if 0 + NULL /* init child */ +#endif }; @@ -171,9 +180,6 @@ static void ngx_kqueue_commit(ngx_cycle_t *cycle, ngx_log_t *log) ngx_event_timer_commit(cycle, log); - /* TODO: re-add active events with new udata - if ecf->connections was increased */ - ngx_event_actions = ngx_kqueue_module_ctx.actions; ngx_io = ngx_os_io; -- cgit