[concurrency-interest] Thread Pools
peger at automotive.com
Mon Jul 24 16:40:42 EDT 2006
A lower linger time does help out indeed with the thread count, however
in my case it almost degenerates into no thread pool at all (IE short
timeout + not re-using existing threads = lots of thread create/delete).
I can't say thread startup is *too* big of a deal, but it is noticeable
in our CPU timing (moreso on windows with it's not-so-hot threading).
From: concurrency-interest-bounces at cs.oswego.edu
[mailto:concurrency-interest-bounces at cs.oswego.edu] On Behalf Of Joe
Sent: Monday, July 24, 2006 11:23 AM
Subject: Re: [concurrency-interest] Thread Pools
On 7/21/06, Patrick Eger <peger at automotive.com> wrote:
> Thanks, I've tried this but it will create all MAX_THREADS before
> reusing any of them, IE will still prefer creating a new thread before
> reusing an existing (idle) one.
Does lowering the linger time to almost nothing approximate the right
>From the description you sent today, I'm guessing that thread start-up
time is not a big performance factor.
Concurrency-interest mailing list
Concurrency-interest at altair.cs.oswego.edu
More information about the Concurrency-interest