fix for libpthread

Daniel Eischen eischen at vigrid.com
Wed Mar 3 06:08:24 PST 2004


On Tue, 2 Mar 2004, Alfred Perlstein wrote:

> This assertion doesn't seem necessary.  Apply to 
> src/lib/libpthread/thread/thr_spinlock.c

No, it's not necessary, but the only consumers of spinlocks
are libc and we don't want libc calling locking functions
when we're not threaded.  It was an anti-foot-shooting
thing I believe.

-- 
Dan Eischen



More information about the freebsd-current mailing list