httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Kasichainula <man...@raleigh.ibm.com>
Subject [PATCH] thread_init API hook
Date Thu, 29 Apr 1999 20:33:31 GMT
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

Mime
View raw message