diff options
Diffstat (limited to 'threadproc/beos/thread.c')
-rw-r--r-- | threadproc/beos/thread.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/threadproc/beos/thread.c b/threadproc/beos/thread.c index a2f4ef991..0ce9638f6 100644 --- a/threadproc/beos/thread.c +++ b/threadproc/beos/thread.c @@ -183,6 +183,13 @@ APR_DECLARE(apr_status_t) apr_thread_current_create(apr_thread_t **current, return APR_SUCCESS; } +APR_DECLARE(void) apr_thread_current_after_fork(void) +{ +#if APR_HAS_THREAD_LOCAL + current_thread = NULL; +#endif +} + APR_DECLARE(apr_thread_t *) apr_thread_current(void) { #if APR_HAS_THREAD_LOCAL |