You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Manoj Kasichainula <ma...@raleigh.ibm.com> on 1999/04/29 22:33:31 UTC
[PATCH] thread_init API hook
Now that there is a per-thread pool in the hybrid server, this patch
adds a thread_init API hook, that is called from each thread when it
is started. I don't actually understand what this would be used for,
but people have asked for it.
There is no corresponding thread_exit hook, because the impression I
got is that child_exit is only tolerated, and that ap_register_cleanup
is considered better (and I'd tend to agree).
The attached patch doesn't include any of the changes to modules other
than mod_info; they only consist of adding a NULL to the end of the
module hook structure.
Thoughts? Is this done correctly?
--
Manoj Kasichainula - manojk@raleigh.ibm.com
IBM, Apache Development