Fibers for ForkJoinPools

Olivier Peyrusse kineolyan at gmail.com
Sun Jul 21 14:27:47 UTC 2019


Hello everyone,

is there any plans to make the ForkJoin framework evolve with the
introduction of continuations?
One part of the ForkJoin framework uses RecursiveAction or RecursiveTask,
that perform a simple fork-then-join. Other implementations like Cilk in
C++ considered doing continuations as a solution after the join, while the
FJ framework is currently based on work stealing.
Having continuation may also simplify the writing of CountedCompleters, for
they are already objects representing continuations.

I guess they are no immediate easy solution to make both continuations and
work-stealing play together. But I was wondering if some work was scheduled
about this topic.

Thanks
Olivier


More information about the loom-dev mailing list