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
LWG Poll 5: P2160R1 Locks lock lockables #4520
Conversation
Why did this build fail? |
The underscores in https://github.com/cplusplus/draft/runs/1974880075#step:4:2160 are non-ASCII. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit description says "[thread.req.lockable.general] Use "or" instead of "and" (a lock can't be both a shared lock and a shared lock)."
Note the repeated "shared lock". That doesn't make sense. I'd suggest you force-push after fixing. Also, please address @JohelEGP's comments.
The build failed because, apparently, you did some cut&paste and that employed non-ASCII characters (use Details / view raw logs):
|
Thanks! How did you figure that out? |
I googled "detect non-ascii" and pasted that onto https://pages.cs.wisc.edu/~markm/ascii.html. |
5aeb5ae
to
d6c1e6a
Compare
Yes. By using https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message. I'm not sure whether |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I found a missed edit.
5b2c320
to
4ace0f8
Compare
* [thread.req.lockable.general] Use bullets with "or" instead of "and" (a lock can't be both a shared lock and a non-shared lock). * [thread.req.lockable.shared, thread.req.lockable.shared.timed] Fix punctuation to be consistent.
4ace0f8
to
d64b1fa
Compare
[thread.req.lockable.general] Use "or" instead of "and" (a lock can't be both
a shared lock and a shared lock).
[thread.req.lockable.shared][thread.req.lockable.shared.timed] Fix punctuation
to be consistent.
Fixes #4510.
Fixes cplusplus/papers#871
Issues/Questions:
*[thread.req.lockable.shared.timed]p2 uses "has not been acquired" while [thread.req.lockable.shared]p2 uses "shall not have been acquired". I believe these two should use the same wording. Which is correct?