Mercurial > hg > nginx
comparison src/event/ngx_event.c @ 34:95f1c2a938f3
nginx-0.0.1-2002-12-20-09:54:55 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 20 Dec 2002 06:54:55 +0000 |
parents | b2e039840718 |
children | c14d7232b11f |
comparison
equal
deleted
inserted
replaced
33:b2e039840718 | 34:95f1c2a938f3 |
---|---|
20 ngx_connection_t *ngx_connections; | 20 ngx_connection_t *ngx_connections; |
21 ngx_event_t *ngx_read_events, *ngx_write_events; | 21 ngx_event_t *ngx_read_events, *ngx_write_events; |
22 | 22 |
23 #if !(USE_KQUEUE) | 23 #if !(USE_KQUEUE) |
24 | 24 |
25 #if (HAVE_KQUEUE) | |
25 #if 1 | 26 #if 1 |
26 ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT; | 27 ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT; |
27 #else | 28 #else |
28 ngx_event_type_e ngx_event_type = NGX_KQUEUE_EVENT; | 29 ngx_event_type_e ngx_event_type = NGX_KQUEUE_EVENT; |
30 #endif | |
31 #else | |
32 ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT; | |
29 #endif | 33 #endif |
30 | 34 |
31 ngx_event_actions_t ngx_event_actions; | 35 ngx_event_actions_t ngx_event_actions; |
32 | 36 |
33 /* ngx_event_type_e order */ | 37 /* ngx_event_type_e order */ |