lang/perl5.16: threaded perl vs -pthread?

Steve Wills swills at FreeBSD.org
Sat Feb 9 01:53:56 UTC 2013


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



More information about the freebsd-ports mailing list