about threads support in 1.7.11 breaking 3rd party modules
Sergey Kandaurov
pluknet at nginx.com
Thu Apr 16 15:57:19 UTC 2015
On Apr 15, 2015, at 11:03 AM, Ruslan Ermilov <ru at nginx.com> wrote:
> In version 1.7.11 we have implemented threads support, please see
> http://nginx.org/r/aio for details.
>
> For this, we reused the NGX_THREADS macro that was unused on UNIXes
> since 1.0.4 (June 2011).
>
> This caused some 3rd party modules fail to compile if threads were
> enabled:
>
> https://lists.freebsd.org/pipermail/svn-ports-all/2015-April/090158.html
>
> The analysis have shown that breakages fall into two categories:
>
> 17 out of 20 broken modules failed to compile because they didn't
> include <ngx_config.h> before including <ngx_core.h> in some cases.
TWIMC, for those 3rd party modules falling into this category,
we have committed a simple workaround to make users’ life easier.
Refer to this commit for more information:
http://hg.nginx.org/nginx/rev/cb790d1b2d16
--
Sergey Kandaurov
More information about the nginx-devel
mailing list