From owner-freebsd-current Thu Sep 10 13:22:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16980 for freebsd-current-outgoing; Thu, 10 Sep 1998 13:22:24 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA16855 for ; Thu, 10 Sep 1998 13:22:16 -0700 (PDT) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id NAA07894; Thu, 10 Sep 1998 13:21:41 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp01.primenet.com, id smtpd007771; Thu Sep 10 13:21:36 1998 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id NAA20490; Thu, 10 Sep 1998 13:21:15 -0700 (MST) From: Terry Lambert Message-Id: <199809102021.NAA20490@usr07.primenet.com> Subject: Re: Compiler problems with gcc-2.7.2.1 To: smp@csn.net (Steve Passe) Date: Thu, 10 Sep 1998 20:21:15 +0000 (GMT) Cc: tlambert@primenet.com, joelh@gnu.org, obrien@NUXI.com, dfr@nlsystems.com, jb@cimlogic.com.au, current@FreeBSD.ORG In-Reply-To: <199809101827.MAA05587@Ilsa.StevesCafe.com> from "Steve Passe" at Sep 10, 98 12:27:25 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Wrong: dh->top_elt is NOT the same as top_elt. The thread patches create > a per-thread dhc headed by the dh struct, and thus have a per-thread top_elt > which is referenced as dh->top_elt, NOT top_elt. The global top_elt > is NOT used in a threaded program. Ok, now I'm confused. Why should it be, except for the initial thread in the case that other threads have not been started? I.e., in what way does it differ from errno references? You can't want all threads to attempt to close all descriptors on exit (for example)... Perhaps I'm not seeing this problem because I'm trapping all of my exceptions? I know that my own "terminate()" won't be called, but I think that it's because it's not "weak" in libgcc.a... As I said before, I don't see this. But then, I'm running the code on 2.2.6, without the patches that take the threads implementation away from pure Draft 4... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message