On Tue, Jul 28, 2009 at 6:59 AM, ricardo13<ricardoogra...@gmail.com> 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 ??
You can't have your dedicated thread directly "invoked" during the apache hooks. You need to write normal methods that will be invoked by the normal request-processing threads, and talk to your standalone thread via some type of non-Apache-specific IPC. -- Eric Covener cove...@gmail.com