patch for pthread attribute get and set affinity

Gedare Bloom gedare at rtems.org
Thu Feb 27 15:11:11 UTC 2014


Do you need to check if the attr->setsize == cpusetsize in setaffinity?

Is it ever the case that the cpusetsize > attr->setsize in
getaffinity, but that is ok? similarly in setaffinity if attr->setsize
> cpusetsize? That is to say, is strict equality between the
cpusetsize and the destination of CPU_COPY required, or can the
destination be larger than the source?

I did not look at the test.

-Gedare

On Thu, Feb 27, 2014 at 8:26 AM, Jennifer Averett
<Jennifer.Averett at oarcorp.com> wrote:
> Attached patches are for pthread attribute get
> and set affinity.  As well as a test for the new
> functions
>
>
> Jennifer Averett
> On-Line Applications Research
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel
>



More information about the devel mailing list