From owner-cvs-src@FreeBSD.ORG Thu Apr 5 07:20:32 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A3A116A401; Thu, 5 Apr 2007 07:20:32 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 435EC13C455; Thu, 5 Apr 2007 07:20:32 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l357KWY1015286; Thu, 5 Apr 2007 07:20:32 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l357KVJX015283; Thu, 5 Apr 2007 07:20:32 GMT (envelope-from davidxu) Message-Id: <200704050720.l357KVJX015283@repoman.freebsd.org> From: David Xu Date: Thu, 5 Apr 2007 07:20:31 +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_info.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, 05 Apr 2007 07:20:32 -0000 davidxu 2007-04-05 07:20:31 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_info.c Log: If a thread who's name is being set is not the current thread, use macros THR_THREAD_LOCK and THR_THREAD_UNLOCK instead, this should fix wrong lock level problem. Bug reported by: ed dot maste at gmail dot com Revision Changes Path 1.10 +2 -2 src/lib/libthr/thread/thr_info.c