From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Yong Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] question about thread return Date: Tue, 24 Jul 2001 07:34:00 -0000 Message-id: <3B5D8776.368DD60B@redhat.com> References: <9860C773D04D834D83FD6FAD00A61E930F203C@gctsemi.gctsemi.com> <20010724113853.14658.mail@mail3.fm365.com> X-SW-Source: 2001-07/msg00738.html 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/