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

Relax std task storage lifetime #121

Merged
merged 3 commits into from
Oct 19, 2023
Merged

Relax std task storage lifetime #121

merged 3 commits into from
Oct 19, 2023

Conversation

jamwaffles
Copy link
Collaborator

This PR relaxes the 'static bound down to a specified lifetime. This can remain static for any static PduStorages so shouldn't be a breaking change, but now additionally allows the use of scoped threads or similar.

This PR relaxes the `'static` bound down to a specified lifetime. This
can remain static for any `static PduStorage`s so shouldn't be a
breaking change, but now additionally allows the use of scoped threads or similar.
@jamwaffles
Copy link
Collaborator Author

Note that this is Linux only - the Windows and macOS network futures use other functions that have 'static bounds.

@jamwaffles jamwaffles enabled auto-merge (squash) October 19, 2023 23:05
@jamwaffles jamwaffles merged commit acc907b into master Oct 19, 2023
@jamwaffles jamwaffles deleted the relax-lifetime branch October 19, 2023 23:08
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.

1 participant