when concurrency utils were introduced there 开发者_运维百科was backport-util. For Java 1.6 there is an implementation for fork/join framework http://www.cs.washington.edu/homes/djg/teachingMaterials/grossmanSPAC_forkJoinFramework.html
Is there any alternative for Java 1.5?
I would not expect any back ports of new functionality in JDK 7 to 1.5 since that's two major versions back. Is there a reason you can't upgrade to JDK 1.6?
On this page http://g.oswego.edu/dl/concurrency-interest/ you can find all the packages related to the JSR-166 (java.util.concurrent). There are also backported packages for the JDK6, support for 1.5 doesn't seem to be available.
精彩评论