pthread_mutex_timedlock on sparc64

Kris Kennaway kris at obsecurity.org
Thu Apr 20 20:41:16 UTC 2006


On Thu, Apr 20, 2006 at 03:49:18PM -0400, Miles Nordin wrote:
> >>>>> "kk" == Kris Kennaway <kris at obsecurity.org> writes:
> 
>     kk> Then we can make libthr the default on FreeBSD 6.x as well.
> 
> 1. is libpthread a real library or a placeholder that you point at
>    your choice of thread implementation?

It's a library.  However, you can remap it with libmap.conf to switch
between implementations (libc_r, libpthread, libthr).

> 2. How many native thread implementations are there (in the base
>    system), working or not on all FreeBSD versions?  Two?  Or three?
>    or...

Varies by architecture and FreeBSD version.

> 3. What libraries do you link for each?

cc -pthread links to whatever version is specified by the user.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20060420/0e4407cb/attachment.pgp


More information about the freebsd-sparc64 mailing list