Hi

Of course, that should be

my $main_tid = threads->tid;
sub propagate_hup {
   if (threads->tid == $main_tid) {
       for my $t (threads->list) { $t->kill('HUP') unless $t->tid ==
$main_tid; }
   }
   return 1;
}

Regards, John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to