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
