IIRC they use a combo of AP_PARENT_PID and postconfig userdata to tell between parent/child an first/second pass.
But i also vaguely recall there is a helper for it now? On Thu, Mar 15, 2018 at 10:25 AM, Yann Ylavic <[email protected]> wrote: > On Thu, Mar 15, 2018 at 3:05 PM, Yann Ylavic <[email protected]> wrote: >> On Thu, Mar 15, 2018 at 2:58 PM, Eric Covener <[email protected]> wrote: >>> On Thu, Mar 15, 2018 at 9:44 AM, Yann Ylavic <[email protected]> wrote: >>>> >>>> (IIRC, Windows MPM is threaded only, no "forking" right?). >>> >>> the parent and child both run postconfig though on Windows. >> >> Argh, that's it! (weird behaviour though, IMHO). >> >> The slotmem does not try to attach() first anymore, this needs to be >> restored... > > Is there a way for a module to know whether it's run by the parent or > child process on Windows? -- Eric Covener [email protected]
