comparison src/event/modules/ngx_aio_module.c @ 518:86dad910eeb6 NGINX_0_8_11

nginx 0.8.11 *) Change: directive "gzip_disable msie6" enables gzipping for MSIE 6.0 SV1. *) Feature: file AIO support on FreeBSD and Linux. *) Feature: the "directio_alignment" directive.
author Igor Sysoev <http://sysoev.ru>
date Fri, 28 Aug 2009 00:00:00 +0400
parents 98143f74eb3d
children d0f7a625f27c
comparison
equal deleted inserted replaced
517:15b5cddc5190 518:86dad910eeb6
5 5
6 6
7 #include <ngx_config.h> 7 #include <ngx_config.h>
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9 #include <ngx_event.h> 9 #include <ngx_event.h>
10 #include <ngx_aio.h>
11 10
12 #if (NGX_HAVE_KQUEUE) 11
13 #include <ngx_kqueue_module.h> 12 extern ngx_event_module_t ngx_kqueue_module_ctx;
14 #endif
15 13
16 14
17 static ngx_int_t ngx_aio_init(ngx_cycle_t *cycle, ngx_msec_t timer); 15 static ngx_int_t ngx_aio_init(ngx_cycle_t *cycle, ngx_msec_t timer);
18 static void ngx_aio_done(ngx_cycle_t *cycle); 16 static void ngx_aio_done(ngx_cycle_t *cycle);
19 static ngx_int_t ngx_aio_add_event(ngx_event_t *ev, ngx_int_t event, 17 static ngx_int_t ngx_aio_add_event(ngx_event_t *ev, ngx_int_t event,
69 NULL, /* exit thread */ 67 NULL, /* exit thread */
70 NULL, /* exit process */ 68 NULL, /* exit process */
71 NULL, /* exit master */ 69 NULL, /* exit master */
72 NGX_MODULE_V1_PADDING 70 NGX_MODULE_V1_PADDING
73 }; 71 };
74
75 72
76 73
77 #if (NGX_HAVE_KQUEUE) 74 #if (NGX_HAVE_KQUEUE)
78 75
79 static ngx_int_t 76 static ngx_int_t