[ECOS] Macro that ensures minimum stack size

David Marqvar (DAM) DAM@tt.dk
Thu May 1 17:31:00 GMT 2003


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



More information about the Ecos-discuss mailing list