StructuredTaskScope and Futures

Remi Forax forax at univ-mlv.fr
Tue Jan 3 10:31:59 UTC 2023


----- Original Message -----
> From: "Ron Pressler" <ron.pressler at oracle.com>
> To: "loom-dev" <loom-dev at openjdk.org>
> Sent: Tuesday, January 3, 2023 11:21:15 AM
> Subject: StructuredTaskScope and Futures

> Hi.

Hi,
happy new year,

> 
> A question to those of you who have been using StructuredTaskScope: Have you
> ever used any method on the Future returned from fork other than resultNow and,
> if so, when/why?

state() to know the result/cancellation/error and exceptionNow() to propagate/log the error messages.

> 
> — Ron

Rémi


More information about the loom-dev mailing list