comparison src/event/ngx_event.c @ 53:d1e42f1b8fd4

nginx-0.0.1-2003-01-27-00:08:14 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 26 Jan 2003 21:08:14 +0000
parents 0e81ac0bb3e2
children 27b628ef907e
comparison
equal deleted inserted replaced
52:9f2728644651 53:d1e42f1b8fd4
30 30
31 #if (HAVE_KQUEUE) 31 #if (HAVE_KQUEUE)
32 32
33 #if 0 33 #if 0
34 ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT; 34 ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT;
35 #elif 0 35 #elif 1
36 ngx_event_type_e ngx_event_type = NGX_POLL_EVENT; 36 ngx_event_type_e ngx_event_type = NGX_POLL_EVENT;
37 #else 37 #else
38 ngx_event_type_e ngx_event_type = NGX_KQUEUE_EVENT; 38 ngx_event_type_e ngx_event_type = NGX_KQUEUE_EVENT;
39 #endif 39 #endif
40 40
51 #else 51 #else
52 52
53 ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT; 53 ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT;
54 54
55 #endif 55 #endif
56
57 int ngx_event_flags;
56 58
57 ngx_event_actions_t ngx_event_actions; 59 ngx_event_actions_t ngx_event_actions;
58 60
59 /* ngx_event_type_e order */ 61 /* ngx_event_type_e order */
60 static int (*ngx_event_init[]) (int max_connections, ngx_log_t *log) = { 62 static int (*ngx_event_init[]) (int max_connections, ngx_log_t *log) = {