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

Rewrite spawn again #1052

Closed
brson opened this issue Oct 21, 2011 · 1 comment
Closed

Rewrite spawn again #1052

brson opened this issue Oct 21, 2011 · 1 comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Oct 21, 2011

Spawn is currently a safe wrapper around the old unsafe spawn that transfers a closure into the spawned task. Needs to be cleaned up to remove the hack that migrates the closure environment between tasks.

@brson
Copy link
Contributor Author

brson commented Jan 12, 2012

nmatsakis did this

@brson brson closed this as completed Jan 12, 2012
bors pushed a commit to rust-lang-ci/rust that referenced this issue Oct 26, 2020
…#1054)

* Longer README about how to use this instead of `cargo run`

Resolves rust-lang#1052.

Co-authored-by: bjorn3 <[email protected]>
bors pushed a commit to rust-lang-ci/rust that referenced this issue Oct 26, 2020
coastalwhite pushed a commit to coastalwhite/rust that referenced this issue Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows C-cleanup Category: PRs that clean code up or issues documenting cleanup. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

1 participant