summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2022-02-02 10:18:41 +0000
committerYann Ylavic <ylavic@apache.org>2022-02-02 10:18:41 +0000
commitba426a54895ab1bb3f03a7fe4489420ef9195485 (patch)
treeae89292abf6e18fba6212f67f9bd6d3f97f38cf4 /include
parent7833dc9148c549040eee27ddc90dda8cf28dcf4d (diff)
downloadhttpd-ba426a54895ab1bb3f03a7fe4489420ef9195485.tar.gz
core: Follow up to r1897240: Provide/export ap_thread_current_create()
For completness, and possibly to ease backport to 2.4.x for MPM winnt. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897691 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/httpd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/httpd.h b/include/httpd.h
index 86456d4afd..b8f6119329 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -2579,6 +2579,7 @@ AP_DECLARE(void *) ap_realloc(void *ptr, size_t size)
#endif
#define ap_thread_create apr_thread_create
#define ap_thread_current apr_thread_current
+#define ap_thread_current_create apr_thread_current_create
#define ap_thread_current_after_fork apr_thread_current_after_fork
#else /* APR_VERSION_AT_LEAST(1,8,0) && !defined(AP_NO_THREAD_LOCAL) */
@@ -2609,6 +2610,9 @@ AP_DECLARE(apr_status_t) ap_thread_create(apr_thread_t **thread,
void *data, apr_pool_t *pool);
#endif /* AP_THREAD_LOCAL */
+AP_DECLARE(apr_status_t) ap_thread_current_create(apr_thread_t **current,
+ apr_threadattr_t *attr,
+ apr_pool_t *pool)
AP_DECLARE(void) ap_thread_current_after_fork(void);
AP_DECLARE(apr_thread_t *) ap_thread_current(void);