Mercurial > hg > nginx
diff src/event/ngx_event.c @ 6016:457ec43dd8d5
Renamed NGX_THREADS to NGX_OLD_THREADS because of deprecation.
It's mostly dead code and the original idea of worker threads has been rejected.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 04 Mar 2015 18:26:25 +0300 |
parents | 3f5f0ab59b35 |
children | 466bd63b63d1 |
line wrap: on
line diff
--- a/src/event/ngx_event.c +++ b/src/event/ngx_event.c @@ -212,7 +212,7 @@ ngx_process_events_and_timers(ngx_cycle_ timer = ngx_event_find_timer(); flags = NGX_UPDATE_TIME; -#if (NGX_THREADS) +#if (NGX_OLD_THREADS) if (timer == NGX_TIMER_INFINITE || timer > 500) { timer = 500; @@ -722,7 +722,7 @@ ngx_event_process_init(ngx_cycle_t *cycl next = &c[i]; -#if (NGX_THREADS) +#if (NGX_OLD_THREADS) c[i].lock = 0; #endif } while (i);