fix for libpthread

From: Alfred Perlstein <alfred_at_freebsd.org>
Date: Tue, 2 Mar 2004 22:11:44 -0800
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
_at__at_ -79,8 +79,6 _at__at_
 {
 	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_at_mu.org cell: 408-480-4684
Received on Tue Mar 02 2004 - 21:11:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC