From owner-cvs-all@FreeBSD.ORG Fri May 30 00:02:59 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EFEB1065676; Fri, 30 May 2008 00:02:59 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 716968FC15; Fri, 30 May 2008 00:02:59 +0000 (UTC) (envelope-from davidxu@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 m4U02xpJ028591; Fri, 30 May 2008 00:02:59 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4U02xpj028590; Fri, 30 May 2008 00:02:59 GMT (envelope-from davidxu) Message-Id: <200805300002.m4U02xpj028590@repoman.freebsd.org> From: David Xu Date: Fri, 30 May 2008 00:02:59 +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_once.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 30 May 2008 00:02:59 -0000 davidxu 2008-05-30 00:02:59 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_once.c Log: Eliminate global mutex by using pthread_once's state field as a semaphore. Revision Changes Path 1.7 +29 -33 src/lib/libthr/thread/thr_once.c