blue-sky
blue-sky

Reputation: 53916

Simple thread queue design pattern jdk1.4

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

Answers (1)

duffymo
duffymo

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

Related Questions