-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Add LocalWaker and ContextBuilder types to core, and LocalWake trait to alloc. #118960
Merged
Commits on Jan 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 60a0819 - Browse repository at this point
Copy the full SHA 60a0819View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cb5e2f - Browse repository at this point
Copy the full SHA 0cb5e2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 232cc2b - Browse repository at this point
Copy the full SHA 232cc2bView commit details -
feat: add try_waker and From<&mut Context> for ContextBuilder to allo…
…w the extention of contexts by futures
Configuration menu - View commit details
-
Copy full SHA for 403718b - Browse repository at this point
Copy the full SHA 403718bView commit details -
fix: make LocalWake available in targets that don't support atomics b…
…y removing a #[cfg(target_has_atomic = ptr)]
Configuration menu - View commit details
-
Copy full SHA for 2012d4b - Browse repository at this point
Copy the full SHA 2012d4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cb7a0a - Browse repository at this point
Copy the full SHA 0cb7a0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f824373 - Browse repository at this point
Copy the full SHA f824373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 093f80b - Browse repository at this point
Copy the full SHA 093f80bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad28f75 - Browse repository at this point
Copy the full SHA ad28f75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e373f5 - Browse repository at this point
Copy the full SHA 3e373f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8e71f2 - Browse repository at this point
Copy the full SHA a8e71f2View commit details -
fix: Apply suggestions from code review
Co-authored-by: Mark Rousskov <mark.simulacrum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c67a446 - Browse repository at this point
Copy the full SHA c67a446View commit details -
Configuration menu - View commit details
-
Copy full SHA for eccb5e7 - Browse repository at this point
Copy the full SHA eccb5e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c6a9cb - Browse repository at this point
Copy the full SHA 7c6a9cbView commit details -
refactor: make waker mandatory.
This also removes * impl From<&Context> for ContextBuilder * Context::try_waker() The from implementation is removed because now that wakers are always supported, there are less incentives to override the current context. Before, the incentive was to add Waker support to a reactor that didn't have any.
Configuration menu - View commit details
-
Copy full SHA for 038c6e0 - Browse repository at this point
Copy the full SHA 038c6e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 180c68b - Browse repository at this point
Copy the full SHA 180c68bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.