Mercurial > hg > nginx
diff src/event/ngx_event.h @ 261:bdd631bf1a1c
nginx-0.0.2-2004-02-18-00:11:27 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 17 Feb 2004 21:11:27 +0000 |
parents | d30f2c39caae |
children | 8c5bdde0d9f0 |
line wrap: on
line diff
--- a/src/event/ngx_event.h Tue Feb 17 17:53:12 2004 +0000 +++ b/src/event/ngx_event.h Tue Feb 17 21:11:27 2004 +0000 @@ -163,7 +163,7 @@ int (*disable)(ngx_event_t *ev, int event, u_int flags); int (*add_conn)(ngx_connection_t *c); - int (*del_conn)(ngx_connection_t *c); + int (*del_conn)(ngx_connection_t *c, u_int flags); int (*process)(ngx_log_t *log); int (*init)(ngx_cycle_t *cycle); @@ -216,16 +216,21 @@ #define NGX_USE_SIGIO_EVENT 0x00000040 /* + * The alternative event method after the rt signals queue overflow. + */ +#define NGX_OVERFLOW_EVENT 0x00000080 + +/* * No need to add or delete the event filters - overlapped, aio_read, * aioread, io_submit. */ -#define NGX_USE_AIO_EVENT 0x00000080 +#define NGX_USE_AIO_EVENT 0x00000100 /* * Need to add socket or handle only once - i/o completion port. * It also requires HAVE_AIO and NGX_USE_AIO_EVENT to be set. */ -#define NGX_USE_IOCP_EVENT 0x00000100 +#define NGX_USE_IOCP_EVENT 0x00000200