[Mono-list] ThreadPool, why?
Wed, 27 Aug 2003 21:56:12 +0200
> Subject: [Mono-list] ThreadPool, why?
> I don't understand the benefits of using a ThreadPool instead of
> launching simple Threads, I have read in several articles that its
> just more efficient, but I don't know why? What are the advantages of
> using ThreadPools ?
Because threads can(at least in some environments) be pretty expensive to
create, and the overhead is just too much for very shortlived tasks. Better
then to precreate a bunch of threads which you can just pass off work to
whenever you need it.