diff options
author | Ruslan Ermilov <ru@nginx.com> | 2015-04-14 19:01:25 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2015-04-14 19:01:25 +0300 |
commit | cf31347ee84fdaa02f768e641d1a2f1352b6a56a (patch) | |
tree | 95fa2e6267ffddd5d3ace7bf8108964e7c68fed8 /src/core/ngx_rwlock.c | |
parent | b0b7b5a356c7dedf4a1867e94d8a36cbb6dc3da1 (diff) | |
download | nginx-cf31347ee84fdaa02f768e641d1a2f1352b6a56a.tar.gz nginx-cf31347ee84fdaa02f768e641d1a2f1352b6a56a.zip |
Upstream: the "zone" directive.
Upstreams with the "zone" directive are kept in shared memory,
with a consistent view of all worker processes.
Diffstat (limited to 'src/core/ngx_rwlock.c')
-rw-r--r-- | src/core/ngx_rwlock.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 |