Date: Wed, 31 Dec 2003 11:21:52 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Mike Makonnen <mtm@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 Message-ID: <20031231192152.GA11533@xor.obsecurity.org> In-Reply-To: <200312311554.hBVFsmTp022013@repoman.freebsd.org> References: <200312311554.hBVFsmTp022013@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031231192152.GA11533>