Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

pros/cons of a threadpool

843790Apr 11 2009 — edited Apr 11 2009
I've seen some example of nio servers using a threadpool and some who don't.

A little question about it:
what are the pros are of this method or why would u use a threadpool and not seperate threads.
Cons seems like its bit difficulter because of synchronisation etc.

Thanks in advance!
(idk if there is a problem that i've to unanswered questions in this forum now, tell me if so)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2009
Added on Apr 11 2009
1 comment
357 views