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]

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


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