From owner-cvs-src@FreeBSD.ORG Sun Oct 12 14:02:56 2003 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 BEAF316A4B3; Sun, 12 Oct 2003 14:02:56 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4299F43F3F; Sun, 12 Oct 2003 14:02:56 -0700 (PDT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9CL2uXJ053907; Sun, 12 Oct 2003 14:02:56 -0700 (PDT) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9CL2txf053906; Sun, 12 Oct 2003 14:02:55 -0700 (PDT) (envelope-from jeff) Message-Id: <200310122102.h9CL2txf053906@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 12 Oct 2003 14:02:55 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys mutex.h 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, 12 Oct 2003 21:02:56 -0000 jeff 2003/10/12 14:02:55 PDT FreeBSD src repository Modified files: sys/sys mutex.h Log: - Implement a mtx_ownedby() macro which can be used to determine if a particular thread owns a mutex. This cannot be done without races unless the thread is curthread. Revision Changes Path 1.66 +6 -1 src/sys/sys/mutex.h