From owner-freebsd-current Wed Oct 30 9:37:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE6A737B401; Wed, 30 Oct 2002 09:37:48 -0800 (PST) Received: from newton.issci.ca (mail.acns.ab.ca [142.179.151.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 147C443E6E; Wed, 30 Oct 2002 09:37:48 -0800 (PST) (envelope-from davidc@newton.issci.ca) Received: from newton.issci.ca (localhost [127.0.0.1]) by newton.issci.ca (8.12.6/8.12.5) with ESMTP id g9UHbb6Y061057; Wed, 30 Oct 2002 10:37:37 -0700 (MST) (envelope-from davidc@newton.issci.ca) Received: (from davidc@localhost) by newton.issci.ca (8.12.6/8.12.6/Submit) id g9UHbbRd061056; Wed, 30 Oct 2002 10:37:37 -0700 (MST) Date: Wed, 30 Oct 2002 10:37:37 -0700 From: Chad David To: "David O'Brien" Cc: freebsd-current@FreeBSD.ORG Subject: Re: Objective-C threads Message-ID: <20021030103737.A60023@newton.issci.ca> Mail-Followup-To: David O'Brien , freebsd-current@FreeBSD.ORG References: <20021029190941.A43525@newton.issci.ca> <3DBF4C35.B554A7C1@mindspring.com> <20021029211322.B45337@newton.issci.ca> <3DBF8FD8.A68747D8@mindspring.com> <20021030101943.GB80447@dragon.nuxi.com> <20021030092353.D58476@newton.issci.ca> <20021030170916.GA13375@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021030170916.GA13375@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Wed, Oct 30, 2002 at 09:09:16AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 30, 2002 at 09:09:16AM -0800, David O'Brien wrote: > On Wed, Oct 30, 2002 at 09:23:53AM -0700, Chad David wrote: > > > > Which brings us back to my original question... why are ObjC threads > > disabled? I don't much care about my other patches, I just want > > to know who the 10 others are who will break if we enable threads, > > and how to fix that breakage. My minor patches were only posted because > > you asked :). > > I am not sure. But for some reason you didn't provide a patch that would > turn them on. All you provided was a minor patches that really should go > thru the offical FSF GCC repo in-route to FreeBSD. So back to my > original request. Do you have a patch for changing this part of the way > we configure and build ObjC that you feel might be wrong? That is fair. Here is a patch to start with. There are minor problems with thr-posix.c, but I'll take them up with the appropriate people. Thanks. -- Chad David davidc@issci.ca www.FreeBSD.org davidc@freebsd.org ISSci Inc. Calgary, Alberta Canada --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="objc2.patch" Index: Makefile =================================================================== RCS file: /mnt1/ncvs/src/gnu/lib/libobjc/Makefile,v retrieving revision 1.14 diff -u -d -r1.14 Makefile --- Makefile 12 May 2002 16:00:46 -0000 1.14 +++ Makefile 29 Oct 2002 21:34:52 -0000 @@ -11,7 +11,7 @@ SRCS= archive.c class.c encoding.c gc.c hash.c init.c misc.c \ nil_method.c objects.c sarray.c selector.c sendmsg.c \ - thr.c thr-single.c \ + thr.c thr-posix.c \ NXConstStr.m Object.m Protocol.m linking.m INCS= encoding.h hash.h objc-api.h objc-list.h objc.h runtime.h \ --C7zPtVaVf+AK4Oqc-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message