Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 22821 invoked by uid 6000); 7 Aug 1998 20:40:21 -0000 Received: (qmail 22567 invoked from network); 7 Aug 1998 20:40:14 -0000 Received: from eastwood.aldigital.algroup.co.uk (194.128.162.193) by taz.hyperreal.org with SMTP; 7 Aug 1998 20:40:14 -0000 Received: from freeby.ben.algroup.co.uk (freeby.ben.algroup.co.uk [193.133.15.6]) by eastwood.aldigital.algroup.co.uk (8.8.8/8.6.12) with ESMTP id UAA05818 for ; Fri, 7 Aug 1998 20:39:14 GMT Received: from algroup.co.uk (naughty.ben.algroup.co.uk [193.133.15.107]) by freeby.ben.algroup.co.uk (8.6.12/8.6.12) with ESMTP id VAA05240 for ; Fri, 7 Aug 1998 21:39:08 +0100 Message-ID: <35CB65D3.5C8A3E35@algroup.co.uk> Date: Fri, 07 Aug 1998 21:38:43 +0100 From: Ben Laurie Organization: A.L. Group plc X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: new-httpd@apache.org Subject: Re: [PATCH] Remove 64 thread limit in Win32 Apache References: <35CB4F29.F95E1E0D@raleigh.ibm.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Bill Stoddard wrote: > > Maybe wait_for_many_objects() should go in src/os/win32... The cool way to do this (IMO) is to create a thread for each n objects that waits for them, then signals another object, presumably with the object id of the one it just waited for. Two layers of this gets you 64*64 which should be plenty. Cheers, Ben. -- Ben Laurie |Phone: +44 (181) 735 0686| Apache Group member Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org/ and Technical Director|Email: ben@algroup.co.uk | A.L. Digital Ltd, |Apache-SSL author http://www.apache-ssl.org/ London, England. |"Apache: TDG" http://www.ora.com/catalog/apache/ WE'RE RECRUITING! http://www.aldigital.co.uk/recruit/