]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core: Follow up to r1897240: Opt-out for AP_HAS_THREAD_LOCAL and/or pcre's usage.
authorYann Ylavic <ylavic@apache.org>
Wed, 2 Feb 2022 10:02:26 +0000 (10:02 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 2 Feb 2022 10:02:26 +0000 (10:02 +0000)
commit7833dc9148c549040eee27ddc90dda8cf28dcf4d
treefa58a0e1c8a88d7639ba94c972eda4cbb792b288
parenta31b463532e83d557a4898cfb6411e144bc39266
core: Follow up to r1897240: Opt-out for AP_HAS_THREAD_LOCAL and/or pcre's usage.

If the compiler's thread_local is not efficient enough on some platforms, or
not desired, have a way to disable its usage in httpd (at compile time).

Handle -DAP_NO_THREAD_LOCAL and/or -DAPREG_NO_THREAD_LOCAL as build opt-out for
thread_local usage in httpd gobally and/or in ap_regex only (respectively).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897689 13f79535-47bb-0310-9956-ffa450edef68
include/httpd.h
server/util.c
server/util_pcre.c