comparison src/event/modules/ngx_devpoll_module.h @ 40:d5d4f3bba6f0

nginx-0.0.1-2002-12-26-10:24:21 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 26 Dec 2002 07:24:21 +0000
parents 83fa61cd3d2f
children
comparison
equal deleted inserted replaced
39:83fa61cd3d2f 40:d5d4f3bba6f0
12 void ngx_devpoll_add_timer(ngx_event_t *ev, ngx_msec_t timer); 12 void ngx_devpoll_add_timer(ngx_event_t *ev, ngx_msec_t timer);
13 int ngx_devpoll_process_events(ngx_log_t *log); 13 int ngx_devpoll_process_events(ngx_log_t *log);
14 14
15 15
16 #if 0 16 #if 0
17 /* DEBUG */ 17 /* Solaris */
18
18 #define POLLREMOVE 0x0800 19 #define POLLREMOVE 0x0800
20
19 #define DP_POLL 0xD001 21 #define DP_POLL 0xD001
20 22
21 struct dvpoll { 23 struct dvpoll {
22 struct pollfd* dp_fds; 24 struct pollfd *dp_fds;
23 int dp_nfds; 25 int dp_nfds;
24 int dp_timeout; 26 int dp_timeout;
25 }; 27 };
26 28
27 #endif 29 #endif
28 30
29 31