From owner-cvs-all@FreeBSD.ORG Tue Mar 25 20:02:25 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C25237B401; Tue, 25 Mar 2003 20:02:25 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9BE343F75; Tue, 25 Mar 2003 20:02:24 -0800 (PST) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2Q42O0U043025; Tue, 25 Mar 2003 20:02:24 -0800 (PST) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2Q42Oxq043024; Tue, 25 Mar 2003 20:02:24 -0800 (PST) Message-Id: <200303260402.h2Q42Oxq043024@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 25 Mar 2003 20:02:24 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: cvs commit: src/lib/libc/gen _spinlock_stub.c src/lib/libc/include spinlock.h src/lib/libc_r/uthread uthread_spinlock.c src/lib/libpthread/thread thr_spinlock.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 26 Mar 2003 04:02:26 -0000 jeff 2003/03/25 20:02:24 PST FreeBSD src repository Modified files: lib/libc/gen _spinlock_stub.c lib/libc/include spinlock.h lib/libc_r/uthread uthread_spinlock.c lib/libpthread/thread thr_spinlock.c Log: - Define a _spinunlock() function so that threading implementations may do more complicated things than just setting the lock to 0. - Implement stubs for this function in libc and the two threading libraries that are currently in the tree. Revision Changes Path 1.8 +9 -0 src/lib/libc/gen/_spinlock_stub.c 1.6 +2 -1 src/lib/libc/include/spinlock.h 1.12 +6 -0 src/lib/libc_r/uthread/uthread_spinlock.c 1.13 +7 -0 src/lib/libpthread/thread/thr_spinlock.c