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

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Thu, 1 Oct 2009 12:50:02 +0300
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.

Received on Thu Oct 01 2009 - 07:50:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC