This is the mail archive of the newlib@sources.redhat.com 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: RTEMS patch sweep: *types.h


On Feb 22 05:50, Paul Schlie wrote:
> (don't know where it would belong, but do honestly believe, particularly
>  for small targets with sparse data memory resources, there needs to be
>  some way easy way for the programmer to determine that data structures
>  need to ideally be declared as frugally as possible, while not needlessly
>  compromising more ideal sizing for larger targets; something basically
>  along the lines of where a target may designate themselves as having
>  either a small <16KB, medium ~128KB, or large >1MB total data memory;
>  thereby a target size aware function implementation may then at least
>  attempt to size their allocations proportionally to available resources;
>  but again it just provides the opportunity to do so, utilizing the
>  information effectively is the harder part.)

That's the whole purpose of defining abstract datatypes like off_t,
size_t, uid_t, pid_t, isn't it?


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.


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