Skip to content
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

Implement Upkeep::start_pinned API #93

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gootorov
Copy link
Contributor

Implemented via the core_affinity_rs library, which includes support for all platforms quanta targets, with the exception of iOS. iOS users of this API would get a runtime error when attempting to start a pinned Upkeep thread.

Closes #92

@@ -58,12 +56,15 @@ pub struct Handle {
}

/// Errors thrown during the creation/spawning of the upkeep thread.
#[non_exhaustive]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: adding #[non_exhaustive] is a breaking change (as is adding a new error variant), but allows adding more error variants in the future without breaking changes. MSRV for #[non_exhaustive] is 1.40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does it make sense to pin Upkeep thread?
1 participant