sched.h question

Joel Sherrill joel.sherrill@oarcorp.com
Sun Mar 28 15:30:00 GMT 2010


Hi,

I noticed that when you build RTEMS + newlib, there
are two sched.h files and a sys/sched.h

+ newlib sched.h - very minimal, includes <sys/sched.h>
+ newlib sys/sched.h - very minimal, defines struct sched_param
+ RTEMS sched.h - prototypes sched_XXX methods.

Would it be OK to submit a patch to add the prototype of
the following to newlib/libc/include/sched.h:

+ sched_setparam
+ sched_getparam
+ sched_setscheduler
+ sched_getscheduler
+ sched_get_priority_min
+ sched_rr_get_interval
+ sched_yield

Asking since modifying files in libc/include impacts
everything.

Thanks.

--joel



More information about the Newlib mailing list