[uClibc] pthreads BUG?

Erik Andersen andersen at codepoet.org
Tue Dec 16 03:39:09 UTC 2003


On Mon Dec 15, 2003 at 05:23:28PM -0800, Ken Treis wrote:
> Miquel Sayeras Oliveras wrote:
> >Somebody has been able to leave thread without this one remains zombie, or
> >creating thread like detached or doing pethread_exit and pthread_join.
> >I've been trying for a while and I have not obtained that thread dies
> >correctly. It's possible bug of threads scheduler??
> 
> Just a "me too" on this (using on m68knommu). After a successful join, 
> the joined thread remains a zombie instead of being properly cleaned up.
> 
> I ended up working around it by using a pthread_cond_wait instead of 
> creating/destroying threads.

I don't run uClibc on m68knommu, but I have never seen the
problem you describe on any other architectures.  Can someone
post a test app that demonstrates the problem?

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list