Skip to content

implement ThreadPerCore #3465

Description

@jesse99

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: 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.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions