Date: Thu, 31 Oct 2002 11:12:44 -0700 From: Chad David <davidc@issci.ca> To: Loren James Rittle <rittle@latour.rsch.comm.mot.com> Cc: current@FreeBSD.ORG Subject: Re: Objective-C threads Message-ID: <20021031111244.A88717@newton.issci.ca> 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 References: <200210310347.g9V3l2hw006240@latour.rsch.comm.mot.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021031111244.A88717>