[uClibc] pthreads BUG?

Ken Treis ken at miriamtech.com
Tue Dec 16 01:23:28 UTC 2003


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.

-- 
Ken Treis
Miriam Technologies, Inc.




More information about the uClibc mailing list