[uClibc]pthread_join

Fabrice Gautier Fabrice_Gautier at sdesigns.com
Fri Apr 11 18:47:18 UTC 2003


Ok, I tracked down the problem to a bug in free which doesnt unlokc the heap
under some condition. The bug as actually already been fixed in cvs so
everything seems fine now...


Thanks


-- 
Fabrice Gautier, 
Fabrice_Gautier at sdesigns.com


> -----Original Message-----
> From: Fabrice Gautier [mailto:Fabrice_Gautier at sdesigns.com]
> Sent: Tuesday, April 08, 2003 7:32 PM
> To: 'andersen at codepoet.org'
> Cc: 'uclibc at uclibc.org'
> Subject: RE: [uClibc]pthread_join
> 
> 
> 
> It's on uClinux (MMU-less).
> 
> I was told, on the uClinux list,  to try to force linuxthread 
> to not use the
> RT-signals. But it doesnt seems to matter whichever I use. 
> Right now i'm
> testing with SIGUSR1/SIGUSR2. 
> 
> But see my other email about what I think could be a race condition in
> pthread_create.
> 
> -- 
> Fabrice Gautier, 
> Fabrice_Gautier at sdesigns.com
> 
> 
> > -----Original Message-----
> > From: Erik Andersen [mailto:andersen at codepoet.org]
> > Sent: Tuesday, April 08, 2003 7:23 PM
> > To: Fabrice Gautier
> > Cc: 'uclibc at uclibc.org'
> > Subject: Re: [uClibc]pthread_join
> > 
> > 
> > On Mon Apr 07, 2003 at 06:28:19PM -0700, Fabrice Gautier wrote:
> > > 
> > > Well, I guess I was looking at the old code.... (not the 
> one in the
> > > linuxthread subdir)
> > > 
> > > Anyway i got this problem with linuxthreads where when i 
> > join a thread after
> > > it has exited, the joining thread hangs.
> > > 
> > > All the thread are created with default attributes so 
> they should be
> > > joinable.
> > > 
> > > My platform is uClinux-arm, has anyone used pthreads and 
> > particularly
> > > pthread_join with success on this platform?
> > 
> > I've used pthreads on arm and it worked for me.  Are you using
> > this an regular arm-linux, or mmu-less uClinux?
> > 
> >  -Erik
> > 
> > --
> > Erik B. Andersen             http://codepoet-consulting.com/
> > --This message was written using 73% post-consumer electrons--
> > 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc
> 


More information about the uClibc mailing list