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