Mercurial > hg > nginx
comparison src/event/modules/ngx_rtsig_module.c @ 346:55e496a8ece3
nginx-0.0.3-2004-06-06-23:49:18 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 06 Jun 2004 19:49:18 +0000 |
parents | e366ba5db8f8 |
children | 68ff8000a974 |
comparison
equal
deleted
inserted
replaced
345:fade4edd61f8 | 346:55e496a8ece3 |
---|---|
112 | 112 |
113 ngx_io = ngx_os_io; | 113 ngx_io = ngx_os_io; |
114 | 114 |
115 ngx_event_actions = ngx_rtsig_module_ctx.actions; | 115 ngx_event_actions = ngx_rtsig_module_ctx.actions; |
116 | 116 |
117 ngx_event_flags = NGX_USE_SIGIO_EVENT | 117 ngx_event_flags = NGX_USE_RTSIG_EVENT |
118 |NGX_HAVE_GREEDY_EVENT | 118 |NGX_HAVE_GREEDY_EVENT |
119 |NGX_HAVE_INSTANCE_EVENT; | 119 |NGX_HAVE_INSTANCE_EVENT; |
120 | 120 |
121 return NGX_OK; | 121 return NGX_OK; |
122 } | 122 } |
421 | 421 |
422 static int ngx_rtsig_process_overflow(ngx_cycle_t *cycle) | 422 static int ngx_rtsig_process_overflow(ngx_cycle_t *cycle) |
423 { | 423 { |
424 if (ngx_poll_module_ctx.actions.process(cycle) == NGX_OK) { | 424 if (ngx_poll_module_ctx.actions.process(cycle) == NGX_OK) { |
425 ngx_event_actions = ngx_rtsig_module_ctx.actions; | 425 ngx_event_actions = ngx_rtsig_module_ctx.actions; |
426 ngx_event_flags = NGX_USE_SIGIO_EVENT; | 426 ngx_event_flags = NGX_USE_RTSIG_EVENT; |
427 } | 427 } |
428 | 428 |
429 return NGX_OK; | 429 return NGX_OK; |
430 } | 430 } |
431 | 431 |