On Thu, Feb 27, 2014 at 10:40 AM, Jennifer Averett <jennifer.aver...@oarcorp.com> wrote: > Ok... I see what you were saying now. Calling the > pthread_attr_setaffinity_np from > pthread_setaffinity_np seemed like overkill, when > it was just one line added to the pthread_attr_setaffinity_np > method. > I agree.
>> -----Original Message----- >> From: rtems-devel-boun...@rtems.org [mailto:rtems-devel- >> boun...@rtems.org] On Behalf Of Jennifer Averett >> Sent: Thursday, February 27, 2014 9:31 AM >> To: Gedare Bloom >> Cc: rtems-devel@rtems.org >> Subject: RE: Patch for pthread get and set affinity >> >> I'm sorry I don't follow this question. This patch is the Implementation and >> test of pthread_attr_setaffinity_np. >> Am I missing something? The method sets the api->Attributes affinity. >> >> > -----Original Message----- >> > From: ged...@gwmail.gwu.edu [mailto:ged...@gwmail.gwu.edu] On >> Behalf >> > Of Gedare Bloom >> > Sent: Thursday, February 27, 2014 9:17 AM >> > To: Jennifer Averett >> > Cc: rtems-devel@rtems.org >> > Subject: Re: Patch for pthread get and set affinity >> > >> > Same comments from my email on the other thread apply here. Why don't >> > you use the pthread_attr_setaffinity_np() to set the api->Attributes >> affinity? >> > -Gedare >> > >> > On Thu, Feb 27, 2014 at 8:28 AM, Jennifer Averett >> > <jennifer.aver...@oarcorp.com> wrote: >> > > >> > > Attached are patches for pthread 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 _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel