Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream.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 | ab660d7c9980 |
children | c8acea7c7041 |
comparison
equal
deleted
inserted
replaced
6015:e11a8e7e8e0c | 6016:457ec43dd8d5 |
---|---|
444 | 444 |
445 r->upstream = u; | 445 r->upstream = u; |
446 | 446 |
447 u->peer.log = r->connection->log; | 447 u->peer.log = r->connection->log; |
448 u->peer.log_error = NGX_ERROR_ERR; | 448 u->peer.log_error = NGX_ERROR_ERR; |
449 #if (NGX_THREADS) | 449 #if (NGX_OLD_THREADS) |
450 u->peer.lock = &r->connection->lock; | 450 u->peer.lock = &r->connection->lock; |
451 #endif | 451 #endif |
452 | 452 |
453 #if (NGX_HTTP_CACHE) | 453 #if (NGX_HTTP_CACHE) |
454 r->cache = NULL; | 454 r->cache = NULL; |