summaryrefslogtreecommitdiff
path: root/threadproc/netware/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'threadproc/netware/proc.c')
-rw-r--r--threadproc/netware/proc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/threadproc/netware/proc.c b/threadproc/netware/proc.c
index f5d24b21b..1a6de7b7b 100644
--- a/threadproc/netware/proc.c
+++ b/threadproc/netware/proc.c
@@ -226,6 +226,9 @@ APR_DECLARE(apr_status_t) apr_proc_fork(apr_proc_t *proc, apr_pool_t *pool)
return errno;
}
else if (pid == 0) {
+#if AP_HAS_THREAD_LOCAL
+ apr_thread_current_after_fork();
+#endif
proc->pid = pid;
proc->in = NULL;
proc->out = NULL;