[concurrency-interest] ForkJoinTask does not re-check task status entailing overhead
rba at activeviam.com
Thu Nov 8 11:10:58 EST 2018
Thank you for the clarification and for your time. It seems all clear on
our side when setting the return value to true.
Have a good day,
On Tue, Nov 6, 2018 at 5:39 PM Doug Lea via Concurrency-interest <
concurrency-interest at cs.oswego.edu> wrote:
> On 11/6/18 9:50 AM, Rémi Barat via Concurrency-interest wrote:
> > Hi, Doug,
> > Thank you very much for your quick answer. We originally made exec()
> > return false since the javadoc says "Returns: true if this task is known
> > to have completed /normally/". Maybe it should be updated so that it
> > matches your answer, that "... assuming that exec() returns true if done
> > (either normally or exceptionally)".
> Yes; thanks -- "normally" should/will be deleted in that sentence
> (especially since it does not mesh with the following sentence
> clarification.) Sorry for the confusion!
> > Do you see any potential issue we might have after changing this return
> > value from false to true?
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest