> I bet accept() is getting EINTR. Try checking for that and restarting
> the loop in that case.
Here's the relevant bits from perlipc(1)
Restartable system calls
On systems that supported it, older versions of Perl
used the SA_RESTART flag when installing %SIG han-
In message <[EMAIL PROTECTED]>
so spake Dan Brosemer (odin):
> I've been trying to make a forking daemon in Perl with little success. The
> whole daemon terminates as soon as the first child terminates.
>
> This exact same code performs as I'd expect (ie perfectly) on other
> platforms (
Quoting Dan Brosemer <[EMAIL PROTECTED]>:
> I've been trying to make a forking daemon in Perl with little success. The
> whole daemon terminates as soon as the first child terminates.
>
> This exact same code performs as I'd expect (ie perfectly) on other
> platforms (even including win32/ActiveP
I've been trying to make a forking daemon in Perl with little success. The
whole daemon terminates as soon as the first child terminates.
This exact same code performs as I'd expect (ie perfectly) on other
platforms (even including win32/ActivePerl) and so I'm wondering what it is
about my OpenBS
4 matches
Mail list logo