From owner-cvs-projects@FreeBSD.ORG Wed Dec 31 11:21:53 2003 Return-Path: Delivered-To: cvs-projects@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E23A016A4CE; Wed, 31 Dec 2003 11:21:53 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-134.dsl.lsan03.pacbell.net [63.207.60.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id A582E43D39; Wed, 31 Dec 2003 11:21:52 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3891E66E61; Wed, 31 Dec 2003 11:21:52 -0800 (PST) Date: Wed, 31 Dec 2003 11:21:52 -0800 From: Kris Kennaway To: Mike Makonnen Message-ID: <20031231192152.GA11533@xor.obsecurity.org> References: <200312311554.hBVFsmTp022013@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <200312311554.hBVFsmTp022013@repoman.freebsd.org> User-Agent: Mutt/1.4.1i cc: projects-committers@FreeBSD.org cc: cvs-projects@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: projects/validate/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock 5-1.c 5-2.c 5-3.c X-BeenThere: cvs-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the projects tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 19:21:54 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 31, 2003 at 07:54:48AM -0800, Mike Makonnen wrote: > mtm 2003/12/31 07:54:48 PST >=20 > FreeBSD projects repository >=20 > Modified files: > validate/testcases/open_posix_testsuite/conformance/interfaces/pthrea= d_mutex_timedlock=20 > = 5-1.c=20 > = 5-2.c=20 > = 5-3.c=20 > Log: > Correct incorrect assertion about the behaviour of pthread_mutex_timedl= ock() > o If the thread has the mutex already locked it will not block.= It > will return EDEADLK. Therefore, according to the standard, > returning EINVAL if the timeout is invalid does not apply to > such a thread. > =20 > Better explanation for the case testing for immediate return > with ETIMEDOUT when the timeout is set to the current time. Isn't something a bit wrong with the testsuite if you have to make a lot of commits to port it to freebsd? Kris --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/8yHPWry0BWjoQKURAp5YAKDuDINEyMLIpfJzAtBIus98j7JkJgCfabCe naZPThHn3Tslqt1G2jRMbgI= =8ZnI -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--