Skip to content

Add task pinning #6933

Closed
Closed

Description

@brson

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

  1. toddaaro commented on Aug 6, 2013

    @toddaaro
    Contributor

    Handled in a past commit. Closing.

  2. added a commit that references this issue on Mar 25, 2021
    478f258
  3. added a commit that references this issue on Aug 21, 2026
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

      Issue actions