diff options
author | Ruslan Ermilov <ru@nginx.com> | 2015-03-04 18:26:25 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2015-03-04 18:26:25 +0300 |
commit | 83ba5ed2ecc1ca06971639e4e2c7325aaa8e5101 (patch) | |
tree | 7984305b05776fd3be9096797dd6c3793407f5c0 /src/os/unix/ngx_thread.h | |
parent | b89e3bc03448cb83cc339781a6037e6a73954c01 (diff) | |
download | nginx-83ba5ed2ecc1ca06971639e4e2c7325aaa8e5101.tar.gz nginx-83ba5ed2ecc1ca06971639e4e2c7325aaa8e5101.zip |
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.
Diffstat (limited to 'src/os/unix/ngx_thread.h')
-rw-r--r-- | src/os/unix/ngx_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_thread.h b/src/os/unix/ngx_thread.h index 49c5d5656..2077b3df6 100644 --- 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_mutex_t *m); ngx_int_t ngx_cond_signal(ngx_cond_t *cv); -#else /* !NGX_THREADS */ +#else /* !NGX_OLD_THREADS */ #define ngx_thread_volatile |