public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Memory management for threads
@ 2006-06-26  3:59 aditya veer singh
  0 siblings, 0 replies; only message in thread
From: aditya veer singh @ 2006-06-26  3:59 UTC (permalink / raw)
  To: ecos

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-26  3:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-26  3:59 [ECOS] Memory management for threads aditya veer singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).