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.aver...@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@rtems.org > http://www.rtems.org/mailman/listinfo/rtems-devel > _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel