This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [Patch][RFC] ARM glibc-2.5 sigwait() with linuxthreads has a problem.
From: Daniel Jacobowitz <drow@false.org>
Subject: Re: [Patch][RFC] ARM glibc-2.5 sigwait() with linuxthreads has a problem.
Date: Tue, 20 Nov 2007 08:49:44 -0500
> On Tue, Nov 13, 2007 at 06:58:09PM +0900, ryosei@sm.sony.co.jp wrote:
> > I suppose the cause of this problem is as follows.
> > * In the case of above sample codes, pthread_sigwait() in libpthread.so
> > call sigaction() in libc.so
> > * And sigaction() in libc.so doesn't call pthread_sigaction()
> > in libpthread.so.
> > * This is because the following file exists but is not compiled.
> >
> > linuxthreads/sysdeps/pthread/sigaction.c
> >
> > Are there any reasons why the above file,
> > sigaction.c in linuxthreads directory, is not compiled??
>
> This bug was probably introduced either by the move of linuxthreads
> out of the main repository, or else some NPTL support changes. I do
> not know for sure.
>
Thank you for your reply!
OK, I can understand.
> > With the below patch which I created, the above sigaction.c is compiled
> > and the problem is fixed. Is this patch fine??
>
> It looks reasonable. LinuxThreads is no longer supported, though.
OK.
Thank you.
Best Regards,
Ryosei Takagi