clarifications in structured concurrency overview

Alan Bateman Alan.Bateman at oracle.com
Thu Oct 24 11:55:35 UTC 2019


On 24/10/2019 02:01, John Belmonte wrote:
> https://wiki.openjdk.java.net/display/loom/Structured+Concurrency
>
> The Cancellation section doesn't mention what the default option is-- would
> someone add a clarification?
>
> Also, there is a typo in one of the code samples:  PROPAGTE_CANCEL
> --> PROPAGATE_CANCEL
>
That prototype has been put aside for the moment but the default did not 
propagation cancellation (propagation of cancellation requires tracking 
the threads, the default was simplify to just wait until all threads 
scheduled in the scope terminated). I have it on my list to update the 
wiki to align with where we.

-Alan.


More information about the loom-dev mailing list