Subj : Re: pthread_mutex_lock -> sem_unlink -> pthread_create? To : comp.programming.threads From : loic-dev Date : Tue Jun 21 2005 02:12 am Hi Dan, > I'm having a strange problem that I haven't been able to find a > reference to on usenet or the web. A program of ours is experiencing > very high load when processing very little network traffic. Attaching > to one of the busy threads consistently gives backtraces like the one > below. I don't understand why pthread_create is being called here. Is > this normal behaviour from pthread_mutex_lock? Hundreds of threads are > being created, according to the output of repeated ps, which clearly > isn't right. > > I don't know whether this is a problem with the way we're using > ZThread, a bug in ZThread, or a bug in glibc's pthread, and I'm at a > brick wall now. Can anyone shed any light on this odd situation? Unfortunately, I do not have any solution or hint to your problem. But that's definitively not "normal". Most of us aren't proficient in Zthreads enough... But if you could provide us a minimal example showing up your issue, we could perhaps help further. Regards, Loic. .