-
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 overflowsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Description
This needs to be made useable by rust users. One use case is code that needs to use blocking foreign calls: often this will be done within a task using SingleThread (to avoid blocking other tasks on the thread). But that task may need to spawn sub-tasks, and those should normally be spawned using the default scheduling mode. Unfortunately trying to do so results in task failed at 'thread_per_core scheduling mode unimplemented'
so users have to do something lame like using ManualThreads(4).
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 overflowsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.