RFR: Minor changes to `StructuredTaskScope` [v3]

Paul Sandoz psandoz at openjdk.java.net
Wed Apr 13 16:35:36 UTC 2022


On Wed, 13 Apr 2022 15:15:39 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Paul Sandoz has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Memory consistency effects.
>
> src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/StructuredTaskScope.java line 256:
> 
>> 254:  * <h2>Memory consistency effects</h2>
>> 255:  * <p>Actions in the owner thread of, or a thread contained in, the task scope prior to
>> 256:  * {@linkplain #fork forking} of a {@code Runnable} or {@code Callable} task
> 
> The changes look fine, just one comment on this section is that there isn't an overload of fork that takes a Runnable, it's just Callable for now.

Doh! thanks. I also fixed the link.

-------------

PR: https://git.openjdk.java.net/loom/pull/142


More information about the loom-dev mailing list