Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pthread_setaffinity_np failed after cset shield #29

Open
ryuxin opened this issue Dec 27, 2019 · 1 comment
Open

pthread_setaffinity_np failed after cset shield #29

ryuxin opened this issue Dec 27, 2019 · 1 comment

Comments

@ryuxin
Copy link

ryuxin commented Dec 27, 2019

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

@alexhadd
Copy link

Did you ever figure this out? Having a similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants