Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

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

Conversation

AlisdairM
Copy link
Contributor

This PR addresses #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.
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant