Re: Time to cancel a thread
[email protected] ("Jerry D. Hedden") Tue, 25 Mar 2008 09:50:30 -0400
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <[email protected]> |
> Prefect, if I use this package with a thread, I can to cancel this > process when I like, but I did not see in the documentation on how to > specify the maximum time out that a process can take before being > canceled. How can I do this if possible? Check the example in the Thread-Cancel module from CPAN. It's under 'examples' and is called 'cancel.pl'.