[coroutine.handle.resumption] "an instance of std::thread" is not an execution agent
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 16h 4m
- Merged PRs (30d)
- 36
Description
The wording (pre-Cologne) says:
has implementation-defined behavior unless each execution agent is either an instance of
std::threador the thread that executesmain.
This is a category error. An instance of std::thread is an object with class type, not an execution agent.
I think it wants to say "unless each execution agent is a thread started by std::thread, or the thread that executes main."
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the draft for the [coroutine.handle.resumption] clause and read the surrounding wording. Update the description so it refers to a thread started by std::thread rather than an instance of std::thread, while preserving the reference to the thread that executes main. Done means the clause no longer describes an object as an execution agent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100