Date: Thu, 01 Oct 2009 00:05:28 -0400 From: Joe Marcus Clarke <marcus@FreeBSD.org> To: current@FreeBSD.org Subject: Pthread fix to libc on FreeBSD 9.X, 8.X, 7.X, and 6.X Message-ID: <1254369928.94567.50.camel@shumai.marcuscom.com>
next in thread | raw e-mail | index | archive | help
--=-lMa+IQr3OZ5ud5OYMQAG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-lMa+IQr3OZ5ud5OYMQAG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEUEABECAAYFAkrEKocACgkQb2iPiv4Uz4cHZACbBcV25iKOYUKp5DRWaeGMWOth R1oAmIM7zN7OqY/rLJGdOUrXhjALWEA= =BKVg -----END PGP SIGNATURE----- --=-lMa+IQr3OZ5ud5OYMQAG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1254369928.94567.50.camel>