Hi,

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 :) 
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

-- 
Noam Rathaus
CTO
no...@beyondsecurity.com
http://www.beyondsecurity.com

"Know that you are safe."

Beyond Security Finalist for the "Red Herring 100 Global" Awards 2007

=================================================================
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