From owner-freebsd-current Thu Oct 31 10:12:58 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 E766D37B401 for ; Thu, 31 Oct 2002 10:12:56 -0800 (PST) Received: from newton.issci.ca (mail.acns.ab.ca [142.179.151.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49DD143E4A for ; Thu, 31 Oct 2002 10:12:56 -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 g9VICj6Y089129; Thu, 31 Oct 2002 11:12:45 -0700 (MST) (envelope-from davidc@newton.issci.ca) Received: (from davidc@localhost) by newton.issci.ca (8.12.6/8.12.6/Submit) id g9VICibc089128; Thu, 31 Oct 2002 11:12:44 -0700 (MST) Date: Thu, 31 Oct 2002 11:12:44 -0700 From: Chad David To: Loren James Rittle Cc: current@FreeBSD.ORG Subject: Re: Objective-C threads Message-ID: <20021031111244.A88717@newton.issci.ca> Mail-Followup-To: Loren James Rittle , current@FreeBSD.ORG References: <200210310347.g9V3l2hw006240@latour.rsch.comm.mot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200210310347.g9V3l2hw006240@latour.rsch.comm.mot.com>; from rittle@latour.rsch.comm.mot.com on Wed, Oct 30, 2002 at 09:47:02PM -0600 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 On Wed, Oct 30, 2002 at 09:47:02PM -0600, Loren James Rittle wrote: > > Use thr-objc not thr-posix. thr-objc maps to the gcc generic thread > abstration layer and is better supported these days. It will also > correctly disable overhead related to threading when a program is > single-threaded using weak symbols. thr-posix doesn't do that... I've been trying to get it to work with weak symbols, but have not had any luck yet. I'm pretty sure I'm just missing something simple, but if you have a working config for FreeBSD I'd love to see it. The current situation doesn't seem optimal, ie. requiring -pthread for none threaded programs. There is also the issue of config.h.in, which needs to become config.h. This shouldn't be a big deal, I'm just not sure what the prefered method is (just repo copy it?). -- Chad David davidc@issci.ca www.FreeBSD.org davidc@freebsd.org ISSci Inc. Calgary, Alberta Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message