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 at false dot org>
- To: ryosei at sm dot sony dot co dot jp
- Cc: libc-ports at sourceware dot org, Satoru dot Ueda at jp dot sony dot com
- Date: Tue, 20 Nov 2007 08:49:44 -0500
- Subject: Re: [Patch][RFC] ARM glibc-2.5 sigwait() with linuxthreads has a problem.
- References: <20071113.185809.74754717.ryosei@sm.sony.co.jp>
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.
> 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.
--
Daniel Jacobowitz
CodeSourcery