comparison src/event/ngx_event.c @ 63:36d2c25cc9bb

nginx-0.0.1-2003-02-26-23:21:43 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 26 Feb 2003 20:21:43 +0000
parents 50186b49f2ad
children 34d647deb1da
comparison
equal deleted inserted replaced
62:8ccba41a678e 63:36d2c25cc9bb
21 #include <ngx_devpoll_module.h> 21 #include <ngx_devpoll_module.h>
22 #endif 22 #endif
23 23
24 #if (HAVE_KQUEUE) 24 #if (HAVE_KQUEUE)
25 #include <ngx_kqueue_module.h> 25 #include <ngx_kqueue_module.h>
26 #endif
27
28 #if (HAVE_AIO)
29 #include <ngx_aio_module.h>
26 #endif 30 #endif
27 31
28 #if (HAVE_IOCP) 32 #if (HAVE_IOCP)
29 #include <ngx_event_acceptex.h> 33 #include <ngx_event_acceptex.h>
30 #include <ngx_iocp_module.h> 34 #include <ngx_iocp_module.h>
52 ngx_devpoll_init, 56 ngx_devpoll_init,
53 #endif 57 #endif
54 #if (HAVE_KQUEUE) 58 #if (HAVE_KQUEUE)
55 ngx_kqueue_init, 59 ngx_kqueue_init,
56 #endif 60 #endif
61 #if (HAVE_AIO)
62 ngx_aio_init,
63 #endif
57 #if (HAVE_IOCP) 64 #if (HAVE_IOCP)
58 ngx_iocp_init 65 ngx_iocp_init
59 #endif 66 #endif
60 }; 67 };
61 68
79 #if 1 86 #if 1
80 ngx_event_type = NGX_KQUEUE_EVENT_N; 87 ngx_event_type = NGX_KQUEUE_EVENT_N;
81 #endif 88 #endif
82 #if 0 89 #if 0
83 ngx_event_type = NGX_DEVPOLL_EVENT_N; 90 ngx_event_type = NGX_DEVPOLL_EVENT_N;
91 #endif
92 #if 0
93 ngx_event_type = NGX_AIO_EVENT_N;
84 #endif 94 #endif
85 #if 0 95 #if 0
86 ngx_event_type = NGX_IOCP_EVENT_N; 96 ngx_event_type = NGX_IOCP_EVENT_N;
87 #endif 97 #endif
88 98