On Tue, Apr 16, 2002 at 02:41:44PM -0400, Jeff Trawick wrote: > These facts are in conflict: > > 1) thread pool for worker threads is a subpool of pchild > 2) pchild can be cleaned up before worker threads go away
Doesn't it seem that #2 is the real problem? Why are we cleaning up pchild before its threads exit? Shouldn't we be doing a join on each thread - only after all threads exit do we exit the process and clean up pchild? By "zapping pchild" do you mean calling apr_pool_clear(pchild) in clean_child_exit? -- justin