Mercurial > hg > nginx
comparison src/event/ngx_event.h @ 23:f540a63026c9
nginx-0.0.1-2002-12-06-19:32:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 06 Dec 2002 16:32:33 +0000 |
parents | 8dd06e2844f5 |
children | 53cb81681040 |
comparison
equal
deleted
inserted
replaced
22:aa3b53e74728 | 23:f540a63026c9 |
---|---|
20 void *context; | 20 void *context; |
21 char *action; | 21 char *action; |
22 | 22 |
23 int index; | 23 int index; |
24 | 24 |
25 ngx_event_t *prev; /* queue in select(), poll(), mutex(), */ | 25 ngx_event_t *prev; /* queue in mutex(), aio_read(), aio_write() */ |
26 ngx_event_t *next; /* aio_read(), aio_write() */ | 26 ngx_event_t *next; /* */ |
27 | 27 |
28 int (*timer_handler)(ngx_event_t *ev); | 28 int (*timer_handler)(ngx_event_t *ev); |
29 ngx_event_t *timer_prev; | 29 ngx_event_t *timer_prev; |
30 ngx_event_t *timer_next; | 30 ngx_event_t *timer_next; |
31 | 31 |
41 /* write: available space in buffer */ | 41 /* write: available space in buffer */ |
42 /* otherwise: */ | 42 /* otherwise: */ |
43 /* accept: 1 if accept many, 0 otherwise */ | 43 /* accept: 1 if accept many, 0 otherwise */ |
44 | 44 |
45 /* flags - int are probably faster on write then bits ??? */ | 45 /* flags - int are probably faster on write then bits ??? */ |
46 #if !(USE_KQUEUE) | 46 |
47 unsigned oneshot:1; | 47 unsigned oneshot:1; |
48 #endif | 48 |
49 unsigned listening:1; | 49 unsigned listening:1; |
50 unsigned write:1; | 50 unsigned write:1; |
51 | 51 |
52 unsigned ready:1; | 52 unsigned ready:1; |
53 unsigned timedout:1; | 53 unsigned timedout:1; |