On Thu, Jul 19, 2001 at 04:59:06PM +0200, Anton Berezin wrote:

[...]

> What about preventing the master process from destroying itself?  Right
> now I can only come up with:
> 
> In master's _start:
> 
>   $kernel->yield('sleeping_state');
> 
>    sub sleeping_state
>    {
>       ...
>       $kernel->delay('sleeping_state', SOME_TIME);
>    }
> 
> There should be some kind of canonical (for POE) way of just sitting
> there doing nothing waiting for signals.

Unfortunately there isn't.  The signal handling guts were written
before I understood how they would be used, so they often don't work
the way people want them to.  Bleah!

I plan to revise them (see the TODO file).  Until then, your delay
loop is probably the best way to keep the parent process alive.

-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net

Reply via email to