From owner-cvs-src@FreeBSD.ORG Thu Feb 14 12:37:59 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67F8916A417; Thu, 14 Feb 2008 12:37:59 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 29D7413C45D; Thu, 14 Feb 2008 12:37:59 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1ECbx8x056010; Thu, 14 Feb 2008 12:37:59 GMT (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1ECbxQW056009; Thu, 14 Feb 2008 12:37:59 GMT (envelope-from des) Message-Id: <200802141237.m1ECbxQW056009@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Thu, 14 Feb 2008 12:37:58 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libthr/thread thr_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 14 Feb 2008 12:37:59 -0000 des 2008-02-14 12:37:58 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c Log: _pthread_mutex_isowned_np(): use a more reliable method; the current code will work in simple cases, but may fail in more complicated ones. Reviewed by: davidxu Revision Changes Path 1.71 +1 -1 src/lib/libthr/thread/thr_mutex.c