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]

[PATCH] pthread.h Prototype Corrections


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


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