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]

Re: about elix


wangwei wrote:

> I just mean create a thread in the body of anther thread , and the thread
> can use dynamic memory as its
> stack , when the thread ends, the memory of its stack can be released .
> I want to know if ecos support this ?

In the applications I've developped so far thread stacks are preallocated
array variables. Embedded applications generally don't use dynamic memory
management (malloc). eCos provides an alternative mechanism called "memory
pool"
which might fit your needs.

Fano


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