Hi,
Thanks for an amazingly useful library.
The documentation says that the return value from plpa_sched_getaffinity
is zero for success. Looks as though this is incorrect, and the return
value is as in the sched_getaffinity man page:
"the size (in bytes) of the affinity mask used by the kernel. On error,
-1 is returned, and errno is set appropriately"
Can I just assume any value > 0 is OK?
Thanks,
David
|