Mercurial > hg > nginx
comparison src/core/ngx_connection.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 | 69c4912066a4 |
children | c8acea7c7041 |
comparison
equal
deleted
inserted
replaced
6015:e11a8e7e8e0c | 6016:457ec43dd8d5 |
---|---|
941 if (c->write->active || c->write->disabled) { | 941 if (c->write->active || c->write->disabled) { |
942 ngx_del_event(c->write, NGX_WRITE_EVENT, NGX_CLOSE_EVENT); | 942 ngx_del_event(c->write, NGX_WRITE_EVENT, NGX_CLOSE_EVENT); |
943 } | 943 } |
944 } | 944 } |
945 | 945 |
946 #if (NGX_THREADS) | 946 #if (NGX_OLD_THREADS) |
947 | 947 |
948 /* | 948 /* |
949 * we have to clean the connection information before the closing | 949 * we have to clean the connection information before the closing |
950 * because another thread may reopen the same file descriptor | 950 * because another thread may reopen the same file descriptor |
951 * before we clean the connection | 951 * before we clean the connection |