Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2013 21:34:30 GMT
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-ports@FreeBSD.org, mexas@bristol.ac.uk, swills@FreeBSD.org
Subject:   Re: lang/perl5.16: threaded perl vs -pthread?
Message-ID:  <201302092134.r19LYUoC046250@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <5115AC25.7060208@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
	From swills@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



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