aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-03-04 18:26:25 +0300
committerRuslan Ermilov <ru@nginx.com>2015-03-04 18:26:25 +0300
commit83ba5ed2ecc1ca06971639e4e2c7325aaa8e5101 (patch)
tree7984305b05776fd3be9096797dd6c3793407f5c0 /src/core/nginx.c
parentb89e3bc03448cb83cc339781a6037e6a73954c01 (diff)
downloadnginx-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/core/nginx.c')
-rw-r--r--src/core/nginx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index c75ee4fd7..feb861a11 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -139,7 +139,7 @@ static ngx_command_t ngx_core_commands[] = {
0,
NULL },
-#if (NGX_THREADS)
+#if (NGX_OLD_THREADS)
{ ngx_string("worker_threads"),
NGX_MAIN_CONF|NGX_DIRECT_CONF|NGX_CONF_TAKE1,
@@ -959,7 +959,7 @@ ngx_core_module_create_conf(ngx_cycle_t *cycle)
ccf->user = (ngx_uid_t) NGX_CONF_UNSET_UINT;
ccf->group = (ngx_gid_t) NGX_CONF_UNSET_UINT;
-#if (NGX_THREADS)
+#if (NGX_OLD_THREADS)
ccf->worker_threads = NGX_CONF_UNSET;
ccf->thread_stack_size = NGX_CONF_UNSET_SIZE;
#endif
@@ -1000,7 +1000,7 @@ ngx_core_module_init_conf(ngx_cycle_t *cycle, void *conf)
#endif
-#if (NGX_THREADS)
+#if (NGX_OLD_THREADS)
ngx_conf_init_value(ccf->worker_threads, 0);
ngx_threads_n = ccf->worker_threads;