Patch for pthread get and set affinity

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


On Thu, Feb 27, 2014 at 10:40 AM, Jennifer Averett
<Jennifer.Averett at 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-bounces at rtems.org [mailto:rtems-devel-
>> bounces at rtems.org] On Behalf Of Jennifer Averett
>> Sent: Thursday, February 27, 2014 9:31 AM
>> To: Gedare Bloom
>> Cc: rtems-devel at 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: gedare at gwmail.gwu.edu [mailto:gedare at gwmail.gwu.edu] On
>> Behalf
>> > Of Gedare Bloom
>> > Sent: Thursday, February 27, 2014 9:17 AM
>> > To: Jennifer Averett
>> > Cc: rtems-devel at 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.Averett at 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 at rtems.org
>> > > http://www.rtems.org/mailman/listinfo/rtems-devel
>> > >
>>
>> _______________________________________________
>> rtems-devel mailing list
>> rtems-devel at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-devel



More information about the devel mailing list