NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/25563
The following reply was made to PR lib/25563; it has been noted by GNATS.
From: Andrew Doran <ad%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: lib/25563
Date: Fri, 27 Mar 2009 22:49:26 +0000
On Fri, Mar 27, 2009 at 10:05:05PM +0000, David Holland wrote:
> On Fri, Mar 27, 2009 at 02:30:03PM +0000, Thomas Klausner wrote:
> > I just tried the program from this PR on 5.99.8/amd64, and it said:
> > self=0x7f7fffe00000
> > ENTER: handler
> > self=0x7f7ffd800000
> > LEAVE: handler
> >
> > No segfault.
>
> I'd be surprised if this issue affected the new threads library; the
> question I guess is if it still affects 4.0_STABLE.
It still does unfortunatley. We need thread local storage to sort it; TLS
would be used for pthread__self(). I have a kernel change to make this a bit
easier. _lwp_setprivate() calls into MD code to have it set up whatever fast
path the architecture provides. I should commit this. Another change that I
have not written is this: ucontext_t also needs an addtional field for the
LWP private pointer (why this doesn't have a spare field available is, well,
a depressing question). However, someone still needs to add support to the
dynamic linker, C library and toolchain. There is interest in doing this,
however no firm progress to date.
Home |
Main Index |
Thread Index |
Old Index