Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Selective $SIG{CHLD}

Thread Tools

Selective $SIG{CHLD}

Eric Pozharski
Posts: n/a
Context: An object forks multiple childs (with help of IO:ipe, if
that matters). If an object is B<DESTROY>ed then everything is just
fine (there's B<DESTROY> and it works OK). However if filehandles are
closed first then an application get $SIG{CHLD}, obviously. The problem
is that that order (what is B<DESTROY>ed first) is likely out of my

Thus the question. Is there any way (except writing, obviously global,
$SIG{CHLD} handler that would selectively C<IGNORE> or C<DEFAULT> just
got signal) to handle that? Look, I don't understand that as an *easy*
way. I think, that's least intrusive in the outer app environment.

Any comments? I think, the answer is negative.

Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
selective file sharing? what the heck? =?Utf-8?B?c3B1ZGx5?= Wireless Networking 5 01-27-2006 08:17 PM
Selective File Sharing permissions on small workgroup. =?Utf-8?B?SlAgQXBvbGxv?= Wireless Networking 2 10-11-2005 12:30 PM
Selective delete of auto complete list in Firefox? Jim Firefox 2 03-06-2005 07:38 PM
Selective DataGrid =?Utf-8?B?TGlsbGlhbg==?= ASP .Net 1 06-02-2004 08:01 PM
Selective Validation Using Validator Controls Bobby Maul ASP .Net 2 05-27-2004 07:27 AM