Re: Best Practice For Killing Thread?

[email protected] (Elizabeth Mattijsen)
Newsgroups perl.ithreads
Message-ID <p05111b07bbcc680afbf3@[192.168.56.2]>
At 12:08 -0800 11/3/03, Steve Schein wrote:
><snip>
>
>Well, you'll want Thread::Exit and Thread::Signal.  Set up a signal
>handler for a specfic signal, and let that do an exit() (with
>Thread::Exit, that will only exit the thread).
>
>>>>  To confirm - this approach can be used to exit specific threads on a
>Linux system and not stop all threads?

Yep.


Liz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.