[EMAIL PROTECTED] wrote: > 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. -- Arild AnkhSVN: http://ankhsvn.tigris.org Blog: http://ankhsvn.com/blog RSS: http://ankhsvn.com/blog/Rss.aspx _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
