Skip to content

pthread_setaffinity_np failed after cset shield #29

@ryuxin

Description

@ryuxin

I have a question as a beginner. I first use cset shield --cpu to isolate a set of cores. Then I run another application which calls pthread_setaffinity_np to bind itself to that set of cores, too. However, pthread_setaffinity_np reports fail.

Does cset shield cause pthread_setaffinity_np to fail?

If so, how can I make pthread_setaffinity_np to succeed after cset shield?

cset shield --exe is not a good solution for in my case.

Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions