Structured Concurrency yet again

Holo The Sage Wolf holo3146 at gmail.com
Tue May 9 21:02:09 UTC 2023


Hi Eric
You can find TaskHandle in the preview javadocs [1].

[1]:
https://cr.openjdk.org/~alanb/sc/api/java.base/java/util/concurrent/StructuredTaskScope.TaskHandle.html

On Tue, May 9, 2023, 23:43 Eric Kolotyluk <eric at kolotyluk.net> wrote:

> Alan, looking at https://openjdk.org/jeps/8306641
>
> It would be nice to see what TaskHandle looks like. In
> https://docs.oracle.com/en/java/javase/20/docs/api/index.html I cannot
> find any TaskHandle. Can this be defined in this document?
>
> Everyone, I think the move from scope.fork(...) returning
> Supplier/TaskHandle instead of Future is a good move. Took me a while
> swallow it, but after I did, I felt better.
>
> On 2023-05-09 10:27 a.m., Alan Bateman wrote:
> > On 09/05/2023 17:33, Remi Forax wrote:
> >> I think we should restart the work on the structured concurrency API
> > There is updated JEP for the SC API [1] that we hope will become a
> > candidate soon.
> >
> > -Alan.
> >
> > [1] https://openjdk.org/jeps/8306641
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20230510/425298b9/attachment.htm>


More information about the loom-dev mailing list