diff options
Diffstat (limited to 'threadproc/netware/thread.c')
-rw-r--r-- | threadproc/netware/thread.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/threadproc/netware/thread.c b/threadproc/netware/thread.c index fe66b46cf..019358a35 100644 --- a/threadproc/netware/thread.c +++ b/threadproc/netware/thread.c @@ -218,6 +218,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 |