[PATCH] pthread.h Prototype Corrections

Corinna Vinschen vinschen@redhat.com
Thu Mar 15 09:01:00 GMT 2018


On Mar 14 17:53, Joel Sherrill wrote:
> Hi
> 
> In running a conformance test, we discovered that two pthread.h
> prototypes are wrong. 
> 
> int pthread_mutex_getprioceiling(
>   const pthread_mutex_t *restrict mutex,
>   int *prioceiling
> );
> 
> int pthread_setschedparam(
>   pthread_t thread,
>   int policy,
>   const struct sched_param *param
> );
> 
> Being a bit paranoid about this and would appreciate a double-check
> on this one since it is a standards conformance issue.
> 
> Thanks.
> 
> Joel Sherrill (1):
>   Correct prototypes of pthread_mutex_getprioceiling() and
>     pthread_setschedparam()
> 
>  newlib/libc/include/pthread.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> -- 
> 1.8.3.1

Looks good, please apply.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180315/86f9399e/attachment.sig>


More information about the Newlib mailing list