[uClibc]pthread_join

Fabrice Gautier Fabrice_Gautier at sdesigns.com
Wed Apr 9 02:31:53 UTC 2003


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--
> 


More information about the uClibc mailing list