Skip to content

Is it possible to get core id in which a thread is running? #2

@xiaoniu-578fa6bff964d005

Description

It seems we can implement it on linux with sched_getcpu.
This link gives another way to get cpu id on x86 platform, which can cover windows on x86.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions