Future.resultNow / exceptionNow
Alan Bateman
Alan.Bateman at oracle.com
Tue Nov 23 08:17:42 UTC 2021
On 22/11/2021 23:41, Paul Bjorkstrand wrote:
> :
> I wish I had some project in my back pocket that I could use to test out
> Structured Concurrency more, but my tinkerings have me interested in
> learning where else it can be useful. I look forward to seeing how some of
> the Loom subprojects come together, specifically Scope Locals & Structured
> Concurrency. Great work so far!
They are working together so you should be able to play with this.
Specifically, when you invoke fork to start thread in a structured
context then it inherits the scope-locals bindings.
-Alan
More information about the loom-dev
mailing list