From owner-cvs-all@FreeBSD.ORG Wed Dec 31 07:54:49 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8567116A4CE; Wed, 31 Dec 2003 07:54:49 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 976F343D3F; Wed, 31 Dec 2003 07:54:48 -0800 (PST) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBVFsm0B022014; Wed, 31 Dec 2003 07:54:48 -0800 (PST) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBVFsmTp022013; Wed, 31 Dec 2003 07:54:48 -0800 (PST) (envelope-from mtm) Message-Id: <200312311554.hBVFsmTp022013@repoman.freebsd.org> From: Mike Makonnen Date: Wed, 31 Dec 2003 07:54:48 -0800 (PST) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: 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-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 15:54:49 -0000 mtm 2003/12/31 07:54:48 PST FreeBSD projects repository Modified files: validate/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock 5-1.c 5-2.c 5-3.c Log: Correct incorrect assertion about the behaviour of pthread_mutex_timedlock() 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. Better explanation for the case testing for immediate return with ETIMEDOUT when the timeout is set to the current time. Revision Changes Path 1.2 +25 -25 projects/validate/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-1.c 1.2 +25 -26 projects/validate/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-2.c 1.2 +4 -5 projects/validate/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/5-3.c