This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Commons Thread Pool  RSS feed

 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone used the Jakarta Commons thread pool? I took a quick look through the code and found it surprisingly simple. On a recent thread I suggested a queue-driven idea instead of a thread pool ... it turns out the commons thread pool is implemented exactly as such a queue. So it made me feel kinda smart for a few seconds. I gotta like that part.
 
Anthony Smith
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use it. It seems as if they have stopped development for it. I was trying to figure out how I could tell when all my threads from the pool had finished executing. Ideas anyone?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!