This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
a question about the thread stack
- From: "Yi Tang" <yitang at itee dot uq dot edu dot au>
- To: "eCos-discuss" <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 12 Jan 2007 13:05:30 +1000
- Subject: [ECOS] a question about the thread stack
- Reply-to: "Yi Tang" <yitang at itee dot uq dot edu dot au>
Hi,
I have got one question about the stack for thread. As stated in Massa's
book, thread is used for local variables and .... It seems that all variable
excepts those globals are assigned to certain address in the stack, right?
Here is a question. If I have serveral threads running and all of them will
call the same device driver, then the address of the local variables in the
device driver will be different (in each thread's stack) or not?
Thanks for reply,
Regards,
Yi Tang
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss