Re: timing out threads

2011-11-01 Thread Zachary Zebrowski
Hi, $0.02 Look on cpan for the various proc:: modules. If you're doing something like a file copy, and need to shell out to do something, consider looking at : http://search.cpan.org/~bzajac/Proc-Background-1.10/lib/Proc/Background.pm. For me, it works when I need to do something on the command l

timing out threads

2011-11-01 Thread Danny Wong (dannwong)
Hi all, I would like to perform the following, start X (say 10) number of threads to perform some operation (ex. Copy command), I would like to exit or return out of the thread(s) that takes too long ( ex. 30 minutes ). I'm thinking I should spawn an independent thread (a watch thread) and