Discussion:
REAPER() in main loop
dean blackketter
2002-02-22 15:53:18 UTC
Permalink
The REAPER isn't being used anymore, since we no longer fork for HTTP
responses. (Forking doesn't really work well on Win32, alas.)

So feel free to do with it as you wish. If you do want to add your
changes to the main tree, keep in mind we need keep it all
cross-platform happy.

-dean
Is this really necessary since no information is being tracked about what
$SIG{CHLD} = 'IGNORE';
and removing the REAPER function?
The reason being, I'm adding a isEXE so I can fork scripts from the
playlist. REAPER is waiting until the child process exits and thereby is
hanging server.pl. Is there something I don't know about the above IGNORE
statement? (ie: it doesn't work or something)
Thanks,
Scott Brightwell
PS: Love my slim! (it arrived yesterday)
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
When building an e-commerce site, you want to start with a
secure foundation. Learn how with VeriSign's FREE Guide.
http://us.click.yahoo.com/kWSNbC/XdiDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
gr0tus
2002-02-21 23:29:52 UTC
Permalink
I could be wrong, but I believe that it is no longer needed.

It was added when we were fork()ing to deliver the web pages, but we
aren't doing that anymore. I think the only fork() still present is
to daemonize and that doesn't need a REAPER.
Is this really necessary since no information is being tracked
about what
$SIG{CHLD} = 'IGNORE';
and removing the REAPER function?
The reason being, I'm adding a isEXE so I can fork scripts from the
playlist. REAPER is waiting until the child process exits and
thereby is
hanging server.pl. Is there something I don't know about the above
IGNORE
statement? (ie: it doesn't work or something)
Thanks,
Scott Brightwell
PS: Love my slim! (it arrived yesterday)
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
Pinpoint the right security solution for your company - FREE
Guide from industry leader VeriSign gives you all the facts.
http://us.click.yahoo.com/lWSNbC/WdiDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Brightwell, Scott
2002-02-21 23:19:03 UTC
Permalink
Is this really necessary since no information is being tracked about what
processes are being reaped? What's wrong with simply:

$SIG{CHLD} = 'IGNORE';

and removing the REAPER function?

The reason being, I'm adding a isEXE so I can fork scripts from the
playlist. REAPER is waiting until the child process exits and thereby is
hanging server.pl. Is there something I don't know about the above IGNORE
statement? (ie: it doesn't work or something)

Thanks,
Scott Brightwell

PS: Love my slim! (it arrived yesterday)

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
Secure all your Web servers now - with a proven 5-part
strategy. The FREE Server Security Guide shows you how.
http://us.click.yahoo.com/iWSNbC/VdiDAA/yigFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
dean blackketter
2003-02-22 12:56:09 UTC
Permalink
<!doctype html public "-//W3C//DTD W3 HTML//EN">
<head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [slimp3-dev] REAPER() in main
loop</title></head><body>
<div>The REAPER isn't being used anymore, since we no longer fork for
HTTP responses.&nbsp; (Forking doesn't really work well on Win32,
alas.)</div>
<div><br></div>
<div>So feel free to do with it as you wish.&nbsp; If you do want to
add your changes to the main tree, keep in mind we need keep it all
cross-platform happy.</div>
<div><br></div>
<div>-dean</div>
<div><br></div>
<blockquote type="cite" cite>Is this really necessary since no
information is being tracked about what</blockquote>
<blockquote type="cite" cite>processes are being reaped?&nbsp; What's
wrong with simply:<br>
<br>
$SIG{CHLD} = 'IGNORE';<br>
<br>
and removing the REAPER function?<br>
<br>
The reason being, I'm adding a isEXE so I can fork scripts from
the<br>
playlist.&nbsp; REAPER is waiting until the child process exits and
thereby is<br>
hanging server.pl.&nbsp; Is there something I don't know about the
above IGNORE<br>
statement? (ie: it doesn't work or something)<br>
<br>
Thanks,<br>
Scott Brightwell<br>
<br>
PS:&nbsp;&nbsp; Love my slim! (it arrived yesterday)<br>
<br>
------------------------ Yahoo! Groups Sponsor
---------------------~--&gt;<br>
Sponsored by VeriSign - The Value of Trust<br>
Secure all your Web servers now - with a proven 5-part<br>
strategy. The FREE Server Security Guide shows you how.<br>
http://us.click.yahoo.com/iWSNbC/VdiDAA/yigFAA/rIp0lB/TM<br>
---------------------------------------------------------------------<span </span>~-&gt;<br>
<br>
To unsubscribe from this group, send an email to:<br>
slimp3-dev-unsubscribe-***@public.gmane.org<br>
<br>
&nbsp;<br>
<br>
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/ </blockquote>
<div><br></div>
</body>
</html>

Loading...