This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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: Macro that ensures minimum stack size


From: Nick Garnett [mailto:nickg@ecoscentric.com]

> Personally I just define stack sizes as follows:
> 
> #define STACK_SIZE (CYGNUM_HAL_STACK_SIZE_MINIMUM+<app usage>)
> 
> The amount of stack needed for an application is usually fairly
> independent of the exact architecture. To me this seems a safer
> approach than yours, since it guarantees that the app stack space is
> always present.

I see your point and agree. Will use it :-)

/David Marqvar


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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