From owner-freebsd-current@FreeBSD.ORG Tue Mar 2 22:11:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 284B916A4CE; Tue, 2 Mar 2004 22:11:44 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A55D43D2D; Tue, 2 Mar 2004 22:11:44 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 0B2C35C7BF; Tue, 2 Mar 2004 22:11:44 -0800 (PST) Date: Tue, 2 Mar 2004 22:11:44 -0800 From: Alfred Perlstein To: current@freebsd.org Message-ID: <20040303061144.GE56622@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i cc: davidxu@freebsd.org Subject: fix for libpthread X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 06:11:44 -0000 This assertion doesn't seem necessary. Apply to src/lib/libpthread/thread/thr_spinlock.c cvs server: Diffing . Index: thr_spinlock.c =================================================================== RCS file: /home/ncvs/src/lib/libpthread/thread/thr_spinlock.c,v retrieving revision 1.21 diff -u -r1.21 thr_spinlock.c --- thr_spinlock.c 9 Dec 2003 02:37:40 -0000 1.21 +++ thr_spinlock.c 3 Mar 2004 06:10:25 -0000 @@ -79,8 +79,6 @@ { struct spinlock_extra *extra; - if (!__isthreaded) - PANIC("Spinlock called when not threaded."); if (!initialized) PANIC("Spinlocks not initialized."); /* -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684