pthread attr get/set cputime

Joel Sherrill joel.sherrill at OARcorp.com
Tue Jan 29 17:39:52 UTC 2008


Ralf Corsepius wrote:
> On Tue, 2008-01-29 at 10:36 -0600, Joel Sherrill wrote:
>   
>> Hi,
>>
>> Jennifer and I noticed the following routines did not
>> have test code.
>>
>> pthread_attr_getcputime
>> pthread_attr_setcputime
>>
>> When we went searching for definitions in the current
>> OpenGroup and POSIX specification, we couldn't find
>> any.  The comments in RTEMS indicate they were from
>> a draft specification.
>>
>> Before we delete them, can anyone add some insight?
>>     
>
> A google search doesn't provide any hint, either, but links to RTEMS and
> newlib.
>   
I found a presentation on pthreads that obviously copied
code from newlib as well. :)
> But I think you will want to bring to newlib's attention, because the
> pthread.h these are defined in newlib and (at least at first glance)
> seem to be shared with Cygwin.
>   
That's what I was afraid of.   Looks like part of a proposed
standard that we need to kill.

I will email newlib before sending the code to the executioner.

--joel
> Ralf
>
>
>   




More information about the users mailing list