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