This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] pthread.h Prototype Corrections


On Thu, Mar 15, 2018 at 4:01 AM, Corinna Vinschen <vinschen@redhat.com>
wrote:

> 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.
>

Pushed. Thanks.


>
>
> Thanks,
> Corinna
>
> --
> Corinna Vinschen
> Cygwin Maintainer
> Red Hat
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]