[RTEMS Project] #3342: pthread_setschedparam() has incorrect prototype

RTEMS trac trac at rtems.org
Wed Mar 14 22:32:00 UTC 2018


#3342: pthread_setschedparam() has incorrect prototype
----------------------------+--------------------
  Reporter:  Joel Sherrill  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:  5.1
 Component:  posix          |    Version:  5
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
----------------------------+--------------------
 We are missing the const on the third parameter. This requires a change to
 newlib and RTEMS. The correct prototype is:

 int pthread_setschedparam(
   pthread_t                 thread,
   int                       policy,
   const struct sched_param *param
 )

--
Ticket URL: <http://devel.rtems.org/ticket/3342>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list