From cf31347ee84fdaa02f768e641d1a2f1352b6a56a Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 14 Apr 2015 19:01:25 +0300 Subject: Upstream: the "zone" directive. Upstreams with the "zone" directive are kept in shared memory, with a consistent view of all worker processes. --- src/core/ngx_rwlock.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/core/ngx_rwlock.c') diff --git a/src/core/ngx_rwlock.c b/src/core/ngx_rwlock.c index 066c67de8..1404c6edf 100644 --- a/src/core/ngx_rwlock.c +++ b/src/core/ngx_rwlock.c @@ -109,4 +109,12 @@ ngx_rwlock_unlock(ngx_atomic_t *lock) } +#else + +#if (NGX_HTTP_UPSTREAM_ZONE) + +#error ngx_atomic_cmp_set() is not defined! + +#endif + #endif -- cgit