Pthread fix to libc on FreeBSD 9.X, 8.X, 7.X, and 6.X

Joe Marcus Clarke marcus at FreeBSD.org
Thu Oct 1 04:05:29 UTC 2009


Users were reporting a failure with pthread_mutexattr_settype(), and I
couldn't figure out why this function would fail.  It's quite simple.  I
tracked down a problem to the pthread stubs in libc.  The stub
definition for pthread_mutexattr_settype() is wrong.  Here is a patch
which has been reported to fix the problem users have reported.  I'd
like to commit it, but I'd really like a review from someone with thread
knowledge.  Thanks.

http://www.marcuscom.com/downloads/_pthread_stubs.c.diff

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20091001/e3303672/attachment.pgp


More information about the freebsd-current mailing list