-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Concurrency] Cleanup of assert/precondition/assume isolated docs #70800
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
Conversation
005070b
to
742e483
Compare
@swift-ci please smoke test |
Linux CI has unrelated issues right now, need to wait it out |
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.
Thanks for this, Konrad! Made some changes to fix odd punctuation and revise wording. Marked each change only the first time, since similar docs are repeated on similar APIs.
I can take another pass tomorrow if you want, to help you follow the style guidance for API reference a little more closely.
Co-authored-by: Alex Martini <amartini@apple.com>
Thank you for the review @amartini51 ! |
@swift-ci please smoke test |
…cs (swiftlang#70800) Co-authored-by: Alex Martini <amartini@apple.com>
Major revamp of documentation of all the assert / precondition / assume isolated docs.
The docs now explain more about the exact semantics, avoid mentioning behavior that was not actually implemented for the
-Ounchecked
mode, and explain semantics in face of sharing the same serial executor.This should also help understanding in face of task executors -- as we explicitly say that these use the serial executor of actors and not the task executor.
resolves rdar://115729096