Mercurial > hg > nginx-quic
comparison src/event/ngx_event.h @ 6125:4dc8e7b62216
Removed the obsolete aio module.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 22 Apr 2015 18:57:32 +0300 |
parents | ac7c7241ed8c |
children | adba26ff70b5 |
comparison
equal
deleted
inserted
replaced
6124:f1f222db290b | 6125:4dc8e7b62216 |
---|---|
101 #endif | 101 #endif |
102 | 102 |
103 ngx_event_handler_pt handler; | 103 ngx_event_handler_pt handler; |
104 | 104 |
105 | 105 |
106 #if (NGX_HAVE_AIO) | |
107 | |
108 #if (NGX_HAVE_IOCP) | 106 #if (NGX_HAVE_IOCP) |
109 ngx_event_ovlp_t ovlp; | 107 ngx_event_ovlp_t ovlp; |
110 #else | |
111 struct aiocb aiocb; | |
112 #endif | |
113 | |
114 #endif | 108 #endif |
115 | 109 |
116 ngx_uint_t index; | 110 ngx_uint_t index; |
117 | 111 |
118 ngx_log_t *log; | 112 ngx_log_t *log; |
249 * No need to add or delete the event filters: rtsig. | 243 * No need to add or delete the event filters: rtsig. |
250 */ | 244 */ |
251 #define NGX_USE_RTSIG_EVENT 0x00000080 | 245 #define NGX_USE_RTSIG_EVENT 0x00000080 |
252 | 246 |
253 /* | 247 /* |
254 * No need to add or delete the event filters: overlapped, aio_read, | 248 * Obsolete. |
255 * aioread, io_submit. | |
256 */ | 249 */ |
257 #define NGX_USE_AIO_EVENT 0x00000100 | 250 #define NGX_USE_AIO_EVENT 0x00000100 |
258 | 251 |
259 /* | 252 /* |
260 * Need to add socket or handle only once: i/o completion port. | 253 * Need to add socket or handle only once: i/o completion port. |
261 * It also requires NGX_HAVE_AIO and NGX_USE_AIO_EVENT to be set. | |
262 */ | 254 */ |
263 #define NGX_USE_IOCP_EVENT 0x00000200 | 255 #define NGX_USE_IOCP_EVENT 0x00000200 |
264 | 256 |
265 /* | 257 /* |
266 * The event filter has no opaque data and requires file descriptors table: | 258 * The event filter has no opaque data and requires file descriptors table: |