httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ricardo13 <>
Subject Re: Threads
Date Tue, 28 Jul 2009 14:15:42 GMT


I change my idea.
I'm using post_request_read() hook to add request in array. This work.

Now, how do I will create the second thread for schedule requests in array ?
Remember, second thread run independently for hook. 
After, thread forward to Apache content generator.

Thank you

ricardo13 wrote:
> Hi,
> I'm using Worker MPM and would like to implement a module that uses 2
> threads and one array.
> The first thread works adding requests in array. Just it.
> And second thread schedules requests in array to processing.
> I used post_config() hook for initialize structures and creates threads.
> What hook do I use for threads ?? Because if I initialize in post_config,
> how thread run after post_request_read and before content generator ??
> Thank you
> Ricardo

View this message in context:
Sent from the Apache HTTP Server - Module Writers mailing list archive at

View raw message