mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
Core: guard against spinlock usage without atomic ops.
The new thread pools code uses spinlocks.
This commit is contained in:
parent
38a97edf3a
commit
edb0c6ba64
1 changed files with 1 additions and 1 deletions
|
|
@ -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 !
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue