[concurrency-interest] ForkJoinTask does not re-check task status entailing overhead

Rémi Barat rba at activeviam.com
Thu Nov 8 11:10:58 EST 2018


Hi, Doug,

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,
Rémi

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?
>
> No.
>
> -Doug
>
>
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
> http://cs.oswego.edu/mailman/listinfo/concurrency-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20181108/b6528c4b/attachment.html>


More information about the Concurrency-interest mailing list