candidate sched.h and sys/sched.h for review

Ralf Corsepius ralf.corsepius@rtems.org
Wed Mar 31 16:22:00 GMT 2010


On 03/31/2010 04:54 PM, Joel Sherrill wrote:
> Next try.  I am starting a build with this now so there
> might be problems.
>
> Corinna.. SCHED_SPORADIC is now 4. My concern is
> with these constants is that they are sometimes used
> in language bindings and we would have to propagate that.
> If you don't mind, once this rework is in, I will address
> getting us in sync on the other values.
>
> How does it look now?

Errm, I don't think so:

* Shouldn't sched.h include sys/sched.h?
* Why does sys/sched.h exist at all?
   Shouldn't it better be merged into sched.h?
* Shouldn't sys/sched.h include <time.h> (for timespec)?

Ralf



More information about the Newlib mailing list