From owner-cvs-src@FreeBSD.ORG Sun Oct 31 05:03:50 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B86FE16A4CE; Sun, 31 Oct 2004 05:03:50 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9753B43D4C; Sun, 31 Oct 2004 05:03:50 +0000 (GMT) (envelope-from green@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9V53oE6011897; Sun, 31 Oct 2004 05:03:50 GMT (envelope-from green@repoman.freebsd.org) Received: (from green@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9V53ofj011896; Sun, 31 Oct 2004 05:03:50 GMT (envelope-from green) Message-Id: <200410310503.i9V53ofj011896@repoman.freebsd.org> From: Brian Feldman Date: Sun, 31 Oct 2004 05:03:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpthread/thread thr_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 05:03:50 -0000 green 2004-10-31 05:03:50 UTC FreeBSD src repository Modified files: lib/libpthread/thread thr_mutex.c Log: Make pthread_mutex_trylock(3) return EBUSY on failure, as all software packages expect and seems to be most correct according to the slightly- ambiguous standards. MFC after: 1 month Corroborated by: POSIX Reviewed by: silence on threads@ Revision Changes Path 1.46 +1 -8 src/lib/libpthread/thread/thr_mutex.c