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

Kostik Belousov kostikbel at gmail.com
Thu Oct 1 09:50:09 UTC 2009


On Thu, Oct 01, 2009 at 12:05:28AM -0400, Joe Marcus Clarke wrote:
> 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

The patch looks right.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20091001/f468039d/attachment.pgp


More information about the freebsd-current mailing list