| 3199 | } |
| 3200 | |
| 3201 | AP_DECLARE(apr_status_t) ap_thread_create(apr_thread_t **thread, |
| 3202 | apr_threadattr_t *attr, |
| 3203 | apr_thread_start_t func, |
| 3204 | void *data, apr_pool_t *pool) |
| 3205 | { |
| 3206 | struct thread_ctx *ctx = apr_palloc(pool, sizeof(*ctx)); |
| 3207 | |
| 3208 | ctx->func = func; |
| 3209 | ctx->data = data; |
| 3210 | return apr_thread_create(thread, attr, thread_start, ctx, pool); |
| 3211 | } |
| 3212 | |
| 3213 | #endif /* AP_HAS_THREAD_LOCAL */ |
| 3214 |
no outgoing calls
no test coverage detected