Skip to content

Reduce the complexity around rust_sched_launcher #3494

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

Closed
brson opened this issue Sep 14, 2012 · 2 comments
Closed

Reduce the complexity around rust_sched_launcher #3494

brson opened this issue Sep 14, 2012 · 2 comments
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.

Comments

@brson
Copy link
Contributor

brson commented Sep 14, 2012

In order to support the awkward requirement of running Rust tasks on the main thread, scheduler thread management duties are divided between a bunch of tiny classes: rust_sched_driver, rust_sched_launcher, rust_sched_launcher_factory, and their subclasses. I suspect this can be simplified, though it's been a long time since I looked at it.

Also, the names, long though they are, are confusingly inaccurate. The rust_sched_launcher and factory are actually for launching scheduler threads, not schedulers as the name would lead you to believe.

@nikomatsakis
Copy link
Contributor

Not critical for 0.6; removing milestone

@Aatch
Copy link
Contributor

Aatch commented Jun 5, 2013

This isn't relevant any more with the new scheduler and runtime.

@Aatch Aatch closed this as completed Jun 5, 2013
RalfJung pushed a commit to RalfJung/rust that referenced this issue Apr 20, 2024
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.
Projects
None yet
Development

No branches or pull requests

3 participants