This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Seeking Thread join / waitpid equivalent.
- From: Andrew Lunn <andrew at lunn dot ch>
- To: John Carter <john dot carter at tait dot co dot nz>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 27 Aug 2004 08:47:50 +0200
- Subject: Re: [ECOS] Seeking Thread join / waitpid equivalent.
- References: <Pine.LNX.4.61.0408271154320.9153@parore.tait.co.nz>
On Fri, Aug 27, 2004 at 12:02:00PM +1200, John Carter wrote:
> We have just been bitten by the "Don't free the thread into in the
> destructor" problem as discussed so comprehensively by Ivan Horvat in
> April.
> http://sources.redhat.com/ml/ecos-discuss/2004-04/msg00122.html
>
> Thanks Ivan!
>
> Unfortunately the thread exiting is explicitly our lowest priority
> thread, so Reaper in a mbox trick won't work.
Not a problem. Change the priority of the thread as it exits to
something higher than the reaper thread.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss