Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 94544 invoked by uid 500); 17 May 2002 20:49:08 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 94446 invoked from network); 17 May 2002 20:49:07 -0000 Errors-To: Message-Id: <5.1.0.14.2.20020517151938.040d9768@pop3.rowe-clan.net> X-Sender: wrowe%rowe-clan.net@pop3.rowe-clan.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 17 May 2002 15:21:43 -0500 To: dev@httpd.apache.org From: "William A. Rowe, Jr." Subject: RE: [PATCH] Implement -k option for httpd Cc: In-Reply-To: References: <20020516230201.E29628@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 01:33 PM 5/17/2002, Allan Edwards wrote: > > I'm not going to finish it because: > > > > a) I'm not really sure what to do on Win32. > >main.c(617) : error C2065: 'SIGHUP' : undeclared identifier >main.c(620) : error C2065: 'AP_SIG_GRACEFUL' : undeclared identifier >main.c(628) : warning C4013: 'kill' undefined; assuming extern returning int >Error executing cl.exe. > >Maybe the best thing to do is follow the Windows model. >The shutdown/restart etc. processing is handled by the mpm >(on the rewrite_args hook), which is probably the >logical place to do this sort of thing. Why not mpm_common.c code that follows the Windows model, but is undefined on Win32 (and others that this just "won't work")? I eventually plan to get back to moving the "Signals" code into apr, where services, console windows and Win9x pseduo-services all live within the apr_signal schema. Then we can borrow the mpm_common code as well and much of the extra service fooness from mpm_winnt. Bill