Reputation: 53916
I need to control the amount of concurrent thread's running. I think I need to use a thread pool? Is there a design pattern for this ? I'm using JDK1.4
Upvotes: 0
Views: 197
Reputation: 308998
There were lots of new classes added into the java.util.concurrent
packages in JDK 5 and 6.
If you can't upgrade, I'd recommend looking for Doug Lea's concurrent JAR and seeing what it offers.
Upvotes: 1