[Catalyst-dev] Re: Re: PATCH: refactor Catalyst::Engine::HTTP::Restarter to standalone module

Ash Berlin ash_cpan at firemirror.com
Mon Jul 23 09:55:38 GMT 2007


Justin DeVuyst wrote:
>>> I suspect SIGUSR1 would work just fine; the 'authors' (mostly
>>> Sebastian)
>>> don't actually understand signal handling, I had to do quite a lot
>>> of
>>> cleanup work to make the child-related stuff sane.
>> I continued to look at this issue tonight, and came up with a patch
>> for
>> HTTP::Server::Simple that uses simple signal handling. Unless there is
>> a
>> reason to allow restarting of the web server from remote machines
>> (!!),
>> switching to this kind of signal handling system does seem like a good
>> solution.
> 
> There is one very good reason to not use signals and that's
> portability.  As far as I know Win32 doesn't have signals.
> 

Not in the same sense as sig handlers etc. but you do have Messages
which _can_ be used for an anagolous purpose in this situation.

-ash



More information about the Catalyst-dev mailing list