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.
I'll add the copyright and doc :-) > -----Original Message----- > From: ged...@gwmail.gwu.edu [mailto:ged...@gwmail.gwu.edu] On > Behalf Of Gedare Bloom > Sent: Thursday, February 27, 2014 9:06 AM > To: Jennifer Averett > Cc: rtems-devel@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.aver...@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@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