This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: about elix
- To: <Fano dot Ramparany at rd dot francetelecom dot fr>
- Subject: [ECOS] Re: about elix
- From: "wangwei" <wangw at start dot com dot cn>
- Date: Fri, 25 May 2001 15:47:14 +0800
- Cc: "eCos Disuss" <ecos-discuss at sourceware dot cygnus dot com>
- References: <3B0E0B73.A1B3400C@rd.francetelecom.fr>
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 ?
thinks!
----- Original Message -----
From: "Fano Ramparany" <Fano.Ramparany@rd.francetelecom.fr>
To: <wangw@start.com.cn>
Cc: "eCos Disuss" <ecos-discuss@sourceware.cygnus.com>
Sent: Friday, May 25, 2001 3:36 PM
Subject: Re: about elix
> If by "dynamic creating thread" you mean creating a thread in the body
> of another thread entry, then you don't need elix.
> eCos supports the following:
>
> void entry1(...)
> {
> ...
> cyg_thread_create (...,thread_handle2,...);
> cyg_thread_resume (thread_handle2);
> ...
> }
>
> void cyg_user_start ()
> {
> ...
> cyg_thread_create (...,entry1,...,thread_handle1,...);
> cyg_thread_resume (thread_handle1);
> ...
> }
>
>
> >Subject: about elix
> >Date: Thu, 24 May 2001 14:30:18 +0800
> >From: "wangwei" <wangw@start.com.cn>
> > To: <ecos-discuss@sources.redhat.com>
> > Hi,all
> >I want some application with dynamic creating thread . So I must use
> elix in
> >ecos .
> >Does anybody tell me if elix in ecos is stable?