I recently tried on the cpu affinity functions and utilities.The code attached seems to work fine on a xeon processor but gives
a segmentation error when cross compiled and tried on an IMX6q sabre sd board.
Can anyone help me out as of why this is happening?
Thank you in advance,
Original Attachment has been moved to: threadcpuorig.c.txt.zip