> I am using the 'threads' library that has been (rewritten) provided in 
Perl 
> and appears to be ?stable?
> 
> My difficulty is in piping the 'kill' instruction from the parent process 
to 
> the 'threaded' process.
> 
> It appears not to work.
> 
> Anyone with some insight, or sample?
> 
> Before someone says RTFM, I read http://perldoc.perl.org/perlthrtut.html 
and 
> used the samples there, but they aren't that good  and appear to not work 
:) 

What version of perl and in which environment?
Perldoc site defaults to perl 5.10, which I think none of the distro's 
include yet. If you use perl 5.8 then you should switch the docs using the 
selection box on the top right.

--Amos

> for example the process's exit instruction doesn't actually do anything :D
> 
> Some background:
>  * Its it a perl script that is launched from an init.d script
>  * The init.d script uses start-stop-daemon functionality to stop the 
perl 
> script via the pid


=================================================================
To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il

Reply via email to