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: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: lib/25563
Date: Sat, 28 Mar 2009 03:28:11 +0000

 On Fri, Mar 27, 2009 at 10:50:04PM +0000, Andrew Doran 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
 
 Er. Yeah. Given that the program doesn't create any new threads, this
 is clearly wrong, so what I wrote earlier is clearly bollocks. :-/
 
  > We need thread local storage to sort it; TLS would be used for
  > pthread__self().
 
 What's supposed to happen if you use sigaltstack in a multithreaded
 program anyway? Is the alternate stack supposed to be per-thread?
 Because if so this is fairly easily fixed even without TLS, and if not
 it's all nasal demons anyway and doesn't matter.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index