[concurrency-interest] Timeout threadpool
jasonhusong at yahoo.com
Thu Mar 16 13:52:19 EST 2006
By Thread interrupt and perhaps a check inside the Callable to see if it has been cancelled. I have (perhaps wrongly) included the Future inside the task in order to monitor whether the task is supposed to stop running at times. Any advice?
----- Original Message ----
From: Bob Lee <crazybob at crazybob.org>
To: jason rutherglen <jasonhusong at yahoo.com>
Cc: concurrency-interest at cs.oswego.edu
Sent: Thursday, March 16, 2006 10:41:17 AM
Subject: Re: [concurrency-interest] Timeout threadpool
Depends, how do you plan to stop your threads when they time out?
On 3/16/06, jason rutherglen <jasonhusong at yahoo.com> wrote:
> Is there an implementation of a threadpool that times out? Is there an
> implementation that keeps track of the time a Callable has been running? I
> have already started writing my own however I was wondering if anyone else
> has some ideas.
> Concurrency-interest mailing list
> Concurrency-interest at altair.cs.oswego.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest