From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hugo Tyson To: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Re: about elix Date: Fri, 25 May 2001 03:05:00 -0000 Message-id: References: <3B0E0B73.A1B3400C@rd.francetelecom.fr> <001201c0e4ee$ef1739c0$592da8c0@start.com.cn> X-SW-Source: 2001-05/msg00441.html "wangwei" writes: > 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 . You must write the code to allocate the dynamic memory when you create the thread and its stack, and you must write the code to free the dynamic memory when the thread ends (in a different thread). > I want to know if ecos support this ? But all the calls are there, and there is nothing special about the memory that is used for a thread object and its stack; you can allocate and free it just like any other memory. - Huge