Skip to content

Add task pinning #6933

@brson

Description

@brson
Contributor

A pinned task is one that only executes on a specific scheduler. Pinned tasks contain a SchedHandle and when they are scheduled they are sent as a message to their home scheduler.

This is used for 1:1 scheduling and the platform thread.

Note that this has subtle interaction with I/O affinity, e.g. if a pinned task is doing I/O using a handle that was created on a different scheduler it may need to bounce over to the I/O scheduler temporarily.

Activity

toddaaro

toddaaro commented on Aug 6, 2013

@toddaaro
Contributor

Handled in a past commit. Closing.

added a commit that references this issue on Mar 25, 2021
478f258
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 overflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @brson@toddaaro

        Issue actions

          Add task pinning · Issue #6933 · rust-lang/rust