On Tue, Nov 1, 2011 at 6:09 PM, Danny Wong (dannwong) <dannw...@cisco.com>wrote:

>        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
> ).


Danny,

Can you show us in more detail what the long-running threads are doing,
perhaps some pseudocode?  How one safely kills/interrupts/shuts down a
thread depends on what that thread is doing.

As this forum discussed a little over a year ago, threads stuck in blocking
system calls present their own design challenges.

-Mike

Reply via email to