-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.
Description
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.
Metadata
Metadata
Assignees
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.