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

Make core::future sendable #3140

Closed
brson opened this issue Aug 8, 2012 · 2 comments
Closed

Make core::future sendable #3140

brson opened this issue Aug 8, 2012 · 2 comments
Milestone

Comments

@brson
Copy link
Contributor

brson commented Aug 8, 2012

They can be built from sendable pipe endpoints now (instead of unsendable ports), but they still contain boxes. Once futures are sendable they should start being much more useful and composable.

@eholk
Copy link
Contributor

eholk commented Aug 8, 2012

I just poked at this for a bit. Because the task builder includes a notification channel, and a port gets stored somewhere, we basically need to replace these with pipes. This makes task_builder non-copyable (which we want), but we can't do this yet because we don't have moveable self. Thus, I suspect this bug depends on #2585, or at least we have to be willing to get rid of the future_result option in task.rs.

@brson
Copy link
Contributor Author

brson commented Sep 9, 2012

Fixed by #3421

@brson brson closed this as completed Sep 9, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
RalfJung pushed a commit to RalfJung/rust that referenced this issue Oct 25, 2023
add some more gamma function tests
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
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

No branches or pull requests

2 participants