This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Memory Map Urgent!
- From: "Ruchika Singh" <rusingh at ecs dot umass dot edu>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 7 Dec 2004 23:50:34 -0000
- Subject: [ECOS] Memory Map Urgent!
Hi:
I had a doubt regarding memory map for threads. Where does the initialized/
uninitialized data or dynamic data associated with threads ( created using
cyg_thread_create) end up. What i mean to ask is that are there separate
rodata, bss, .data sections for threads or are they interleaved with those of
ecos sections itself.
If interleaved.. what logic defines their locations.
If I create a object using malloc call in a thread A, where is this object
likely to be placed. Or is it that any data associated with thread will end up
in its associated stack??
I would really appreciate your inputs.
Thanks
-R.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss