[concurrency-interest] ExecutorCompletionService

Joe Bowbeer joe.bowbeer at gmail.com
Sun Jan 7 22:23:21 EST 2007

On 1/7/07, Peter Kovacs <peter.kovacs.1.0rc at gmail.com> wrote:
> I would like to use some kind of ThreadPool executor for execution
> which blocks when the maximum number of threads in the pool is reached
> and all threads are utilized.
> 1.) Is there such a ThreadPool executor implementation already
> existing out there?
CallerRunsPolicy is a close approximation.  Would that suffice?


Doug Lea provided a WaitWhenBlocked handler in his original thread pool:


You can try porting that if all else fails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20070107/7176d269/attachment.html 

More information about the Concurrency-interest mailing list