Welcome! Log In Create A New Profile

Advanced

[PATCH] Core: read/write locks are also required by the Stream module

Piotr Sikora
October 24, 2015 07:28PM
# HG changeset patch
# User Piotr Sikora <piotrsikora@google.com>
# Date 1445649693 25200
# Fri Oct 23 18:21:33 2015 -0700
# Node ID 903e6a14b17e9140ee88f671f1ba2293c512ab3b
# Parent 960c335482a516878355bd42b0c8cf58aa112703
Core: read/write locks are also required by the Stream module.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

diff -r 960c335482a5 -r 903e6a14b17e src/core/ngx_rwlock.c
--- a/src/core/ngx_rwlock.c
+++ b/src/core/ngx_rwlock.c
@@ -111,7 +111,7 @@ ngx_rwlock_unlock(ngx_atomic_t *lock)

#else

-#if (NGX_HTTP_UPSTREAM_ZONE)
+#if (NGX_HTTP_UPSTREAM_ZONE || NGX_STREAM_UPSTREAM_ZONE)

#error ngx_atomic_cmp_set() is not defined!


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Core: read/write locks are also required by the Stream module

Piotr Sikora 466 October 24, 2015 07:28PM

Re: [PATCH] Core: read/write locks are also required by the Stream module

Ruslan Ermilov 192 October 26, 2015 07:22AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready