Mercurial > hg > nginx
diff src/os/unix/ngx_thread.h @ 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 | d620f497c50f |
children | 466bd63b63d1 |
line wrap: on
line diff
--- a/src/os/unix/ngx_thread.h +++ b/src/os/unix/ngx_thread.h @@ -12,7 +12,7 @@ #include <ngx_config.h> #include <ngx_core.h> -#if (NGX_THREADS) +#if (NGX_OLD_THREADS) #define NGX_MAX_THREADS 128 @@ -107,7 +107,7 @@ ngx_int_t ngx_cond_wait(ngx_cond_t *cv, ngx_int_t ngx_cond_signal(ngx_cond_t *cv); -#else /* !NGX_THREADS */ +#else /* !NGX_OLD_THREADS */ #define ngx_thread_volatile