Uh oh!
There was an error while loading. Please reload this page.
Document that RawWakerVTable functions must be thread-safe. - #100128
Conversation
Also add some intra-doc links and more high-level explanation of how `Waker` is used, while I'm here. Context: https://internals.rust-lang.org/t/thread-safety-of-rawwakervtables/17126
rust-highfive
commented
Aug 4, 2022
r? @scottmcm (rust-highfive has picked a reviewer for you, use r? to override) |
rustbot
commented
Aug 4, 2022
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
scottmcm
commented
Aug 5, 2022
I don't know enough about tasks/futures to be a good reviewer here. r? libs |
thomcc
commented
Aug 25, 2022
r? @thomcc |
thomcc
commented
Aug 25, 2022
Hmm, can someone on @rust-lang/wg-async double-check this? |
thomcc
left a comment
There was a problem hiding this comment.
This looks fine to me. I kind of would like to have someone from wg-async sign off on it, just to make sure there isn't anything new this is stating subtly
thomcc
commented
Aug 26, 2022
After a reread through our APIs and docs I'm convinced this is fine and doesn't make any new guarantees. @bors r+ rollup |
bors
commented
Aug 26, 2022
…llaumeGomez Rollup of 8 pull requests Successful merges: - rust-lang#95005 (BTree: evaluate static type-related check at compile time) - rust-lang#99742 (Add comments about stdout locking) - rust-lang#100128 (Document that `RawWakerVTable` functions must be thread-safe.) - rust-lang#100956 (Reduce right-side DOM size) - rust-lang#101006 (Fix doc cfg on reexports) - rust-lang#101012 (rustdoc: remove unused CSS for `.variants_table`) - rust-lang#101023 (rustdoc: remove `type="text/css"` from stylesheet links) - rust-lang#101031 (Remove unused build dependency) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
tmandry
commented
Aug 26, 2022
Thanks for the ping and for the PR, I agree it looks good! |
Also add some intra-doc links and more high-level explanation of how
Wakeris used, while I'm here.Context: https://internals.rust-lang.org/t/thread-safety-of-rawwakervtables/17126