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


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?


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