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

Anton Shterenlikht mexas at bristol.ac.uk
Sat Feb 9 21:34:42 UTC 2013


	From swills at freebsd.org Sat Feb  9 02:32:10 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

Ok, thanks, I'll stick to the default.

Anton


More information about the freebsd-ports mailing list