threading in FreeBSD (acx_pthreads)

Daniel Eischen deischen at freebsd.org
Mon Feb 4 08:22:36 PST 2008


On Mon, 4 Feb 2008, Daniel Eischen wrote:

> On Mon, 4 Feb 2008, Karl H. Beckers wrote:
>
>> Thanks so far,
>> 
>> acx_pthread is this autoconf m4 macro:
>> http://ac-archive.sourceforge.net/ac-archive/acx_pthread.html
>
> I don't see anything wrong with that macro.  If I understand it
> correctly, it should work on FreeBSD and pick up "-pthread".

One other thing, there is no -kthread any longer (not sure this
should even be listed) and I'm unsure about the ordering of
lthread vs -pthread.  I would think that -pthread would be
preferred and should be listed before lthread, but that may
depend on what the default library search path is.

-- 
DE


More information about the freebsd-threads mailing list