From owner-cvs-all Sun May 27 5:44:54 2001 Delivered-To: cvs-all@freebsd.org Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id 4461F37B423; Sun, 27 May 2001 05:44:46 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 1445A5422; Sun, 27 May 2001 14:44:43 +0200 (CEST) Date: Sun, 27 May 2001 14:44:43 +0200 From: Anton Berezin To: Mark Murray Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/defaults make.conf Message-ID: <20010527144443.A72056@heechee.tobez.org> References: <20010527133129.A71178@heechee.tobez.org> <200105271203.f4RC3B635492@gratis.grondar.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105271203.f4RC3B635492@gratis.grondar.za>; from mark@grondar.za on Sun, May 27, 2001 at 02:05:16PM +0200 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, May 27, 2001 at 02:05:16PM +0200, Mark Murray wrote: > > > IMHO, experimental options shouldn't even be available on the stable > > > branch. > > > > ..especially considering that PERL_THREADED does much more harmful > > things to 5.005_03 than to 5.6.0... > > What say folks that I just remove it? Hmm. That's what README.threads from 5.6.1 distribution says: NOTE: This documentation describes the style of threading that was available in 5.005. Perl v5.6 also has the early beginnings of interpreter-based threads support (which is what will be enabled by default when you simply ask for -Dusethreads). However, be advised that interpreter threads cannot as yet be created from the Perl level yet. If you're looking to create threads from within Perl, chances are you _don't_ want interpreter threads, but want the older support for threads described below, enabled with: sh Configure -Dusethreads -Duse5005threads The rest of this document only applies to the use5005threads style of threads. ---------------------------------------------------------------------- Support for threading is still in the highly experimental stages. There are known race conditions that show up under high contention on SMP machines. Internal implementation is still subject to changes. It is not recommended for production use at this time. ---------------------------------------------------------------------- In FreeBSD, when PERL_THREADED=true, both 5.005_03 in -stable and 5.6.0 in -current are built using -Dusethreads configure parameter. This means different things, however: in 5.005_03 -Dusethreads is equivalent to -Dusethreads -Duse5005threads in 5.6.0 (and 5.6.1). So we have `threading is the highly experimental stages' in -stable (or, how someone on perl5-porters mailing list has put it, `a 5.005 threads fiasco'), and in -current we have `the early beginnings of interpreter-based threads support'. To me, this implies, that to remove the support for perl threads would be a safe and wise decision. Those wishing to shoot themselves in the foot can build their custom perl from sources any time - to my knowledge, this does not require any patches at all: $ tar xzf perl.something.tgz $ sh Configure -des -Dusethreads -Duse5005threads $ make && make test && make install So I would say, go for it! :-) %Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message