develooper Front page | perl.ithreads | Postings from March 2008

Re: Time to cancel a thread

Thread Previous
From:
Jerry D. Hedden
Date:
March 25, 2008 10:02
Subject:
Re: Time to cancel a thread
Message ID:
1ff86f510803250650x13ea9c66l5e82b869935d0ca@mail.gmail.com
>  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'.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About