App-Diskd
view release on metacpan or search on metacpan
lib/App/Diskd.pm view on Meta::CPAN
my ($heap) = $_[HEAP];
my $child = $heap->{child};
warn "CHILD KILL TIMEOUT";
warn "diskid failed to send kill signal\n" unless $child->kill();
# The kernel should eventually receive a SIGCHLD after this
}
# For our purposes, we don't care whether the child exited by closing
# its output or throwing a SIGCHLD. Wrap the deletion of references to
# the child in if(defined()) to avoid warnings.
sub child_cleanup {
#print "DiskWatcher: child_cleanup args: ". (join ", ", @_). "\n";
my ($heap,$kernel) = @_[HEAP,KERNEL];
# Deactivate the kill timer
$kernel->delay(child_timeout => undef);
( run in 0.268 second using v1.01-cache-2.11-cpan-496ff517765 )