summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.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/http/ngx_http_upstream.c
parentb89e3bc03448cb83cc339781a6037e6a73954c01 (diff)
downloadnginx-83ba5ed2ecc1ca06971639e4e2c7325aaa8e5101.tar.gz
nginx-83ba5ed2ecc1ca06971639e4e2c7325aaa8e5101.tar.bz2
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 '')
-rw-r--r--src/http/ngx_http_upstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index 701978139..fcff4a4c3 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -446,7 +446,7 @@ ngx_http_upstream_create(ngx_http_request_t *r)
u->peer.log = r->connection->log;
u->peer.log_error = NGX_ERROR_ERR;
-#if (NGX_THREADS)
+#if (NGX_OLD_THREADS)
u->peer.lock = &r->connection->lock;
#endif