Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2010 18:38:44 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/150889: PTHREAD_MUTEX_INITIALIZER + pthread_mutex_destroy() == EINVAL
Message-ID:  <20100923183844.1823928a@kan.dnsalias.net>
In-Reply-To: <201009232220.o8NMK3fX011639@freefall.freebsd.org>
References:  <201009232220.o8NMK3fX011639@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/GalQ4ZHqC6OakA/jFCU9XJb
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Thu, 23 Sep 2010 22:20:03 GMT
Jung-uk Kim <jkim@FreeBSD.org> wrote:

> The following reply was made to PR threads/150889; it has been noted
> by GNATS.
>=20
> From: Jung-uk Kim <jkim@FreeBSD.org>
> To: bug-followup@FreeBSD.org,
>  cgf@netapp.com
> Cc: =20
> Subject: Re: threads/150889: PTHREAD_MUTEX_INITIALIZER +
> pthread_mutex_destroy() =3D=3D EINVAL Date: Thu, 23 Sep 2010 18:12:02
> -0400
>=20
>  I was horribly bitten by the incompatibility when I ported IcedTea6=20
>  Java plugin for Linux.  Please see my comments in the patch:
> =20
>  http://www.freebsd.org/cgi/cvsweb.cgi/ports/java/openjdk6/files/icedtea.=
patch?rev=3D1.2;content-type=3Dtext%2Fplain
> =20

"
The pthread_cond_timedwait() and pthread_cond_wait() functions shall
block on a condition variable. They shall be called with mutex locked
by the calling thread or undefined behavior results.
"

NPTL is being non-compliant here.
--=20
Alexander Kabaev

--Sig_/GalQ4ZHqC6OakA/jFCU9XJb
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iD8DBQFMm9cGQ6z1jMm+XZYRApNWAJ47Mb/lfZcXf9tjVpiAQEcKbQjLwACg1qHd
B6wyK2h13rLhoszc9IdIORU=
=H+Ll
-----END PGP SIGNATURE-----

--Sig_/GalQ4ZHqC6OakA/jFCU9XJb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100923183844.1823928a>