Skip to content

[expr.await] Define 'suspend' as a term of power for coroutines #7378

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlisdairM
Copy link
Contributor

@AlisdairM AlisdairM commented Nov 7, 2024

This PR fixes #7377.

Many parts of the standard refer to whether a coroutine is suspended as if it were a term of power, but there is no \defn that defines it as such. This PR places the definition on the only use that I could find where a suspended state was not defined in terms of other suspended states, so may be the transition into suspension. It is likely that folks with a better eye to Core wording will know a better place, that may need a little rewording to sneak in the word 'suspended' to properly define it.

Many parts of the standard refer to whether a coroutine is suspended as if
it were a term of power, but there is no \defn that defines it as such.
Editorial review suggests this commit provides the best location to make
the definition."
@AlisdairM AlisdairM force-pushed the defined_suspended_coroutine branch from b7b284a to f59767c Compare February 12, 2025 02:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is suspended a term of power for coroutines?
1 participant