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]
Other format: [Raw text]

Re: Seeking Thread join / waitpid equivalent.


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


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