This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
sched.h question
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Sat, 27 Mar 2010 16:31:42 -0500
- Subject: sched.h question
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