[ECOS] Memory management for threads

aditya veer singh adityav@cdotd.ernet.in
Mon Jun 26 03:59:00 GMT 2006


hi all,

I am creating a thread and allocate it memory of 8K on creation.

Inside this thread I want to allocate memory of 2MB at compile time to an array of char.
I tried it and it lead failure while loading the elf on target in bss section of 
vector.S (mbx board).

What can be the possible problem here?
Should I allocate memory of 2MB before the creation of thread and pass it to thread?

Thanks in advance.
Aditya Veer Singh

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list