This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 03/31/2010 06:39 PM, Joel Sherrill wrote:
On 03/31/2010 11:31 AM, Ralf Corsepius wrote:
On 03/31/2010 06:22 PM, Joel Sherrill wrote:

I think sys/sched.h exists to allow ports to override
the constants and structure definitions.
I am inclined to agree. Whether this is useful is a different question.

I just tried to investigate and came up with a different conclusion.


sys/types.h contains pthread_attr_t,
which applies "struct sched_params",
which currently is in sys/sched.h.

Without sys/sched.h merged into <sched.h>, newlib would have a circular header dependency.

Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]