RFR: 8314280: StructuredTaskScope.shutdown should document that the state of completing subtasks is not defined

Paul Sandoz psandoz at openjdk.org
Wed Aug 16 15:58:07 UTC 2023


On Tue, 15 Aug 2023 16:21:55 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> This is a docs only change. The specification for StructuredTaskScope.shutdown should make it clear that the state of subtasks that are completing (with a result or exception) at around the time of shutdown is not defined. The state of a completing subtask may transition to a terminal state, it may not, as it is racing with the shutdown.

Marked as reviewed by psandoz (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/15293#pullrequestreview-1580950038


More information about the core-libs-dev mailing list