[Fwd: Pthread fix to libc on FreeBSD 9.X, 8.X, 7.X, and 6.X]

View: New views
2 Messages — Rating Filter:   Alert me  

[Fwd: Pthread fix to libc on FreeBSD 9.X, 8.X, 7.X, and 6.X]

by marcus-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kostik already gave his blessing, but before I commit this, I figured
I'd run this by you guys.  Is this patch okay?

Joe

--
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome@...
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

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@...
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


_______________________________________________
freebsd-threads@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "freebsd-threads-unsubscribe@..."

signature.asc (203 bytes) Download Attachment

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

by Daniel Eischen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 1 Oct 2009, Joe Marcus Clarke wrote:

> Kostik already gave his blessing, but before I commit this, I figured
> I'd run this by you guys.  Is this patch okay?

Looks okay to me.

--
DE
_______________________________________________
freebsd-threads@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "freebsd-threads-unsubscribe@..."