• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there any ready to use expandable Thread pool source code?  RSS feed

 
liang gu
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks in advance.
Liang
 
john guthrie
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we just started using the jakarta-commons object pool for JDBC connection pooling, and plan to do the same for threads. it's just an object pooler, but so far it seems nice and lightweight.
 
Mohit k Joshi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
will it take care of stopping the threads when you return them to the pool, or you will have to implement the wait notify logic yourself...
 
luco zhao
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by john guthrie:
we just started using the jakarta-commons object pool for JDBC connection pooling, and plan to do the same for threads. it's just an object pooler, but so far it seems nice and lightweight.


Actually, there are
org.apache.avalon.excalibur.thread
org.apache.avalon.excalibur.thread.impl
packages available in scratchpad.jar, but do you how to use this thread-pool impl? thanks a lot.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!