Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 98906 invoked from network); 28 Jul 2009 10:58:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jul 2009 10:58:52 -0000 Received: (qmail 92427 invoked by uid 500); 28 Jul 2009 11:00:09 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 92363 invoked by uid 500); 28 Jul 2009 11:00:09 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 92353 invoked by uid 99); 28 Jul 2009 11:00:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 11:00:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 10:59:59 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MVkPD-0004zG-7S for modules-dev@httpd.apache.org; Tue, 28 Jul 2009 03:59:39 -0700 Message-ID: <24697041.post@talk.nabble.com> Date: Tue, 28 Jul 2009 03:59:39 -0700 (PDT) From: ricardo13 To: modules-dev@httpd.apache.org Subject: Threads MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ricardoogrande@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org 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: http://www.nabble.com/Threads-tp24697041p24697041.html Sent from the Apache HTTP Server - Module Writers mailing list archive at Nabble.com.