summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-02-26 20:21:43 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-02-26 20:21:43 +0000
commitff148df8f694212e2cf13f0d43532949433831a2 (patch)
tree1323b3de05544f57639c20080db3ac386bc0050d /src/event/ngx_event.c
parent9a5f495afdf8cc1d33ae1741e1409c0bdcc3589d (diff)
downloadnginx-ff148df8f694212e2cf13f0d43532949433831a2.tar.gz
nginx-ff148df8f694212e2cf13f0d43532949433831a2.tar.bz2
nginx-0.0.1-2003-02-26-23:21:43 import
Diffstat (limited to 'src/event/ngx_event.c')
-rw-r--r--src/event/ngx_event.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c
index 84e5e29da..1310f34da 100644
--- a/src/event/ngx_event.c
+++ b/src/event/ngx_event.c
@@ -25,6 +25,10 @@
#include <ngx_kqueue_module.h>
#endif
+#if (HAVE_AIO)
+#include <ngx_aio_module.h>
+#endif
+
#if (HAVE_IOCP)
#include <ngx_event_acceptex.h>
#include <ngx_iocp_module.h>
@@ -54,6 +58,9 @@ static int (*ngx_event_init[]) (int max_connections, ngx_log_t *log) = {
#if (HAVE_KQUEUE)
ngx_kqueue_init,
#endif
+#if (HAVE_AIO)
+ ngx_aio_init,
+#endif
#if (HAVE_IOCP)
ngx_iocp_init
#endif
@@ -83,6 +90,9 @@ void ngx_pre_thread(ngx_array_t *ls, ngx_pool_t *pool, ngx_log_t *log)
ngx_event_type = NGX_DEVPOLL_EVENT_N;
#endif
#if 0
+ ngx_event_type = NGX_AIO_EVENT_N;
+#endif
+#if 0
ngx_event_type = NGX_IOCP_EVENT_N;
#endif