sys/sched.h and RTEMS
Fri Feb 6 19:55:00 GMT 2009
Ralf noticed that the newlib sched.h and RTEMS
sched.h are conflicting and we wondered what
you all thought was the best solution.
+ newlib's sched.h just includes sys/sched.h
+ newlib's sys/sched.h appears to be a very old
version from RTEMS.
The RTEMS sched.h is newer and has more prototypes
but it isn't a drop-in replacement since sched_param
is defined in it and in sys/types.h in newlib.
Would a patch adding the following prototypes to
newlib's sys/sched.h be OK?
If we do that, I think RTEMS can delete its sched.h
and we can get back to only one copy.
What do you all think?
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the Newlib