[En-Nut-Discussion] Thread stack

Francois Rademeyer francois at asnone.com
Tue Feb 24 14:15:36 CET 2004


Hi everyone,

I have some stupid questions:

Lately I have become very confused with all the GCC, AVR & NUT memories.  I
am trying to find a good balance for the stack size specified when creating
threads.  Except for all the registers that get pushed onto it when a thread
swap occurs, what else uses the thread stack? Unlike larger processors,
where local variables goes onto the stack, with the AVR they go into .bss
and .data, right?

Thanks,
Francois





More information about the En-Nut-Discussion mailing list