summaryrefslogtreecommitdiffhomepage
path: root/src/event/modules/ngx_kqueue_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-07-04 06:03:52 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-07-04 06:03:52 +0000
commitbe3c2b69a4c18e3810b1ed1ba407f0be37230c27 (patch)
tree0dcdfe5e40c57d3da90efe889fa9f49d54ef4414 /src/event/modules/ngx_kqueue_module.c
parent7349befe26d264159cacc4d3dee3964b32e79c83 (diff)
downloadnginx-be3c2b69a4c18e3810b1ed1ba407f0be37230c27.tar.gz
nginx-be3c2b69a4c18e3810b1ed1ba407f0be37230c27.tar.bz2
nginx-0.0.1-2003-07-04-10:03:52 import
Diffstat (limited to 'src/event/modules/ngx_kqueue_module.c')
-rw-r--r--src/event/modules/ngx_kqueue_module.c14
1 files changed, 10 insertions, 4 deletions
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;