bnicholes 2003/03/10 15:40:57
Modified: threadproc/netware proc.c
Log:
Default spawned threads to detached so we avoid hanging on a waitpid() call
since NetWare doesn't yet have a way to kill a spawned NLM.
Revision Changes Path
1.26 +1 -1 apr/threadproc/netware/proc.c
Index: proc.c
===================================================================
RCS file: /home/cvs/apr/threadproc/netware/proc.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- proc.c 4 Mar 2003 00:11:33 -0000 1.25
+++ proc.c 10 Mar 2003 23:40:57 -0000 1.26
@@ -84,7 +84,7 @@
(*new)->cmdtype = APR_PROGRAM;
/* Default to a current path since NetWare doesn't handle it very well */
apr_filepath_get(&((*new)->currdir), APR_FILEPATH_NATIVE, pool);
-/* (*new)->detached = 1;*/
+ (*new)->detached = 1;
return APR_SUCCESS;
}