#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) */
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);
#endif /* AP_HAS_THREAD_LOCAL */
-static apr_status_t ap_thread_current_create(apr_thread_t **current,
- apr_threadattr_t *attr,
- apr_pool_t *pool)
+AP_DECLARE(apr_status_t) ap_thread_current_create(apr_thread_t **current,
+ apr_threadattr_t *attr,
+ apr_pool_t *pool)
{
apr_status_t rv;
apr_abortfunc_t abort_fn = apr_pool_abort_get(pool);