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/core/ngx_regex.c | |
parent | b89e3bc03448cb83cc339781a6037e6a73954c01 (diff) | |
download | nginx-83ba5ed2ecc1ca06971639e4e2c7325aaa8e5101.tar.gz |
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/ngx_regex.c')
-rw-r--r-- | src/core/ngx_regex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_regex.c b/src/core/ngx_regex.c index 30acca5fc..77c5947de 100644 --- a/src/core/ngx_regex.c +++ b/src/core/ngx_regex.c @@ -80,7 +80,7 @@ ngx_regex_init(void) static ngx_inline void ngx_regex_malloc_init(ngx_pool_t *pool) { -#if (NGX_THREADS) +#if (NGX_OLD_THREADS) ngx_core_tls_t *tls; if (ngx_threaded) { @@ -98,7 +98,7 @@ ngx_regex_malloc_init(ngx_pool_t *pool) static ngx_inline void ngx_regex_malloc_done(void) { -#if (NGX_THREADS) +#if (NGX_OLD_THREADS) ngx_core_tls_t *tls; if (ngx_threaded) { @@ -253,7 +253,7 @@ static void * ngx_libc_cdecl ngx_regex_malloc(size_t size) { ngx_pool_t *pool; -#if (NGX_THREADS) +#if (NGX_OLD_THREADS) ngx_core_tls_t *tls; if (ngx_threaded) { |