Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Feb 2013 01:53:41 +0000
From:      Steve Wills <swills@FreeBSD.org>
To:        mexas@bristol.ac.uk, freebsd ports <freebsd-ports@FreeBSD.org>
Subject:   Re: lang/perl5.16: threaded perl vs -pthread?
Message-ID:  <5115AC25.7060208@FreeBSD.org>
In-Reply-To: <201302082059.r18KxDoY036464@mech-cluster241.men.bris.ac.uk>
References:  <201302082059.r18KxDoY036464@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/08/13 20:59, Anton Shterenlikht wrote:
> What is the difference between building lang/perl5.16
> with 
> 	Build threaded perl
> vs
> 	Build with -pthread
> 
> on amd64?
> 
> What if I choose both options?
> 

The point of the -pthread option is to ensure that perl doesn't hang
when you load a perl module which dlopens a threaded lib. You really
want this.

Threaded perl is completely different. You probably don't want this
unless you know what you're doing.

The two are not incompatible.

The defaults were chosen wisely, for good reasons.

Steve




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5115AC25.7060208>