rbb 99/05/23 19:29:28
Modified: apr/threadproc/unix thread.c
Log:
Each new thread must automatically create a new pool for it's use.
Revision Changes Path
1.6 +1 -0 apache-apr/apr/threadproc/unix/thread.c
Index: thread.c
===================================================================
RCS file: /home/cvs/apache-apr/apr/threadproc/unix/thread.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- thread.c 1999/05/24 02:04:20 1.5
+++ thread.c 1999/05/24 02:29:28 1.6
@@ -103,6 +103,7 @@
else
temp = NULL;
+ new->cntxt = ap_create_sub_context(cont, NULL);
if (pthread_create(new->td, temp, func, data) == 0) {
return new;
}