Gonzalo Paniagua Javier wrote:
> 
> Wrong. That number is configurable. See 'man mono'
> 

Oops, didn't remember that option.
But with implementing your own dynamic threadpool, you could have it adaptively 
increase the threads used as workload increased.
So while you're not doing so much on the threadpool, it's count would be at 
some minimum. When workload is high, all the threads would be used and a queue 
would build up, after a certain time or queue-length, the threadpool would 
start increasing its thread-count up to some maximum.
When the threadpool has a small queue, over time the threadpool could start 
dumping the extra threads until it reaches a minimum.

Someday I may implement this... or find an example of a threadpool and tweak it 
if it doesn't provide this adaptive functionality.

-- 
Thomas Harning Jr.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to