Welcome! Log In Create A New Profile

Advanced

about threads support in 1.7.11 breaking 3rd party modules

Ruslan Ermilov
April 15, 2015 04:04AM
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.

The remaining 3 modules were failing because they still used the
NGX_THREADS macro with some long unused code. The corresponding
code can be safely removed.

If you're the maintainer of the broken module, please fix it.

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

about threads support in 1.7.11 breaking 3rd party modules

Ruslan Ermilov 434 April 15, 2015 04:04AM

Re: about threads support in 1.7.11 breaking 3rd party modules

Sergey Kandaurov 234 April 16, 2015 11:58AM



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

Online Users

Guests: 163
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