This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: question about thread return
Yong wrote:
>
> when thread function normally returns ,
> do I need to do any cleanup work for it ?
> like calling cyg_thread_delete() .
You don't need to in the sense that the thread will be suspended. But if
you want to reclaim the memory, you should call cyg_thread_delete().
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/