[concurrency-interest] ForkJoinExecutor.invoke and ForkJoinTask.invoke

Doug Lea dl at cs.oswego.edu
Tue Dec 18 16:44:48 EST 2007

Tim Peierls wrote:
> I still think renaming FJTask.invoke() to forkJoin() would make this 
> framework slightly easier to learn and reduce the potential for 
> confusion with FJPool.invoke(task). 

Thanks, done:
   ForkJoinTask.invoke() is renamed ForkJoinTask.forkJoin()
and similarly,
   RecursiveAction.coInvoke(t1, t2) is now RecursiveAction.forkJoin(t1, t2)
and similarly for the array and list versions.

Sorry to those of you who have been using the framework;
most of you will probably need to edit and recompile.
But better now than after full release.


More information about the Concurrency-interest mailing list