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
[basic.start.dynamic] says "of a thread", what thread? #1536
Comments
Fixes CWG2046, CWG1784. [basic.start.dynamic] Swap order of new p2 and old p2 so the description flows better. Rephrase "avoid deadlocks" note to clarify that it is a suggestion for implementations and not a consequence of the prior rules. [basic.start.term] Move last sentence of new p2 into p3 so that it appears in a more natural place in the description. [support.start.term] Replace "can" with "may" as this note is discussing possibility, not permission.
My 2 cents: I don't think this can be solved editorially. Me thinks there's too many worms in this can. |
For local variables, [intro.execution] p1 says:
We're missing a similar paragraph in [intro.multithread], telling us something like
If we do this, I think we can get by with fairly light rewording elsewhere and possibly add a cross-reference. Side note: Talking about "objects" ignores references, but they care for the same rules, I believe. |
Editorial meeting: You get a new object each time. "A distinct object with automatic storage duration is associated with a variable with each entry into its block." |
The wording added in CWG Motion 10, P0250R3 adds the phrase "whether the dynamic initialization of a non-local non-inline variable with thread storage duration is sequenced before the first statement of the initial function of a thread or is deferred", but "of a thread" isn't clear - what thread?
Comments from Richard:
Also added in P0250R3 is wording which says: "the entity for thread t". What entity???
Comments from Richard:
The text was updated successfully, but these errors were encountered: