Hi,

Thanks for your comments.

>
> child_init is not the appropriate hook for your purpose. Use
> ap_hook_fixups for getting the ID and ap_hook_log_transaction for
> logging.

In ap_hook_fixups, is it possible to get the thread/process ID of the
CGI application serving the request? Moreover, is this thread/process
already created? Or maybe the hook function is executed in the same
thread/process as the CGI application?

>
> Every module has a "register_hooks" function. There, you call the two
> ap_hook functions above in order to hook your callbacks to the fixups
> and log_transaction events. Next you implement the two callbacks and
> that's it.
>

That's clear.

Cheers,
Andrej


-- 
Andrej van der Zee
2-40-19 Koenji-minami
Suginami-ku, Tokyo
166-0003 JAPAN
Mobile: 0031-(0)80-65251092
Phone/Fax: 0031-(0)3-3318-3155

Reply via email to