comparison src/event/ngx_event.h @ 86:3973260705cc

nginx-0.0.1-2003-05-12-19:52:24 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 12 May 2003 15:52:24 +0000
parents eacfdd1c31b9
children 5f6d848dcbef
comparison
equal deleted inserted replaced
85:3549c2bf9eaf 86:3973260705cc
61 #if 0 61 #if 0
62 unsigned listening:1; 62 unsigned listening:1;
63 #endif 63 #endif
64 unsigned write:1; 64 unsigned write:1;
65 65
66 unsigned first:1; 66 unsigned instance:1; /* used to detect stale events in kqueue,
67 rt signals and epoll */
68
67 unsigned active:1; 69 unsigned active:1;
68 unsigned ready:1; 70 unsigned ready:1;
69 unsigned timedout:1; 71 unsigned timedout:1;
70 unsigned blocked:1; 72 unsigned blocked:1;
71 unsigned timer_set:1; 73 unsigned timer_set:1;
111 int padding[NGX_EVENT_T_PADDING]; /* event should not cross 113 int padding[NGX_EVENT_T_PADDING]; /* event should not cross
112 cache line in SMP */ 114 cache line in SMP */
113 #endif 115 #endif
114 #endif 116 #endif
115 }; 117 };
118
116 119
117 typedef enum { 120 typedef enum {
118 NGX_SELECT_EVENT_N = 0, 121 NGX_SELECT_EVENT_N = 0,
119 #if (HAVE_POLL) 122 #if (HAVE_POLL)
120 NGX_POLL_EVENT_N, 123 NGX_POLL_EVENT_N,