Posix patchs to support affinity attribute in newlib

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


On Thu, Feb 27, 2014 at 10:09 AM, Jennifer Averett
<Jennifer.Averett at oarcorp.com> wrote:
> I don't think you can make the default attributes static, as you
> can see in  pthreadimpl.h it is used by several methods when
> to copy the default values into new attributes.
>
OK, it could be done by adding a "getter" function, but that is not necessary.

> I'll add the copyright and doc :-)
Thanks.
-Gedare
>
>
>> -----Original Message-----
>> From: gedare at gwmail.gwu.edu [mailto:gedare at gwmail.gwu.edu] On
>> Behalf Of Gedare Bloom
>> Sent: Thursday, February 27, 2014 9:06 AM
>> To: Jennifer Averett
>> Cc: rtems-devel at rtems.org
>> Subject: Re: Posix patchs to support affinity attribute in newlib
>>
>> Since you drop const from _POSIX_Threads_Default_attributes it would be
>> good to change it to be statically scoped in pthread.c.
>>
>> Please add documentation for the rtems_pthread_attribute_compare()
>> function, and fix the copyright year (and license url) in the new
>> pthreadattrcompare.c file.
>>
>> -Gedare
>>
>> On Thu, Feb 27, 2014 at 8:24 AM, Jennifer Averett
>> <Jennifer.Averett at oarcorp.com> wrote:
>> > Attached are files for posix support of the affinity attribute in
>> > pthread.  The affinity methods and tests will follow.
>> >
>> >
>> > 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