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_spinlock.c | |
parent | b89e3bc03448cb83cc339781a6037e6a73954c01 (diff) | |
download | nginx-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/ngx_spinlock.c')
-rw-r--r-- | src/core/ngx_spinlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_spinlock.c b/src/core/ngx_spinlock.c index 9c93afaf1..33477e2ee 100644 --- a/src/core/ngx_spinlock.c +++ b/src/core/ngx_spinlock.c @@ -42,7 +42,7 @@ ngx_spinlock(ngx_atomic_t *lock, ngx_atomic_int_t value, ngx_uint_t spin) #else -#if (NGX_THREADS) +#if (NGX_OLD_THREADS) #error ngx_spinlock() or ngx_atomic_cmp_set() are not defined ! |