Core: guard against spinlock usage without atomic ops.

The new thread pools code uses spinlocks.
This commit is contained in:
Ruslan Ermilov 2015-03-26 14:15:06 +03:00
parent 5e6739f8cc
commit cb154fccdb
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ ngx_spinlock(ngx_atomic_t *lock, ngx_atomic_int_t value, ngx_uint_t spin)
#else
#if (NGX_OLD_THREADS)
#if (NGX_THREADS)
#error ngx_spinlock() or ngx_atomic_cmp_set() are not defined !