CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2013/06/01 14:47:40
Modified files:
sys/arch/alpha/include: spinlock.h
sys/arch/amd64/include: spinlock.h
sys/arch/arm/include: spinlock.h
sys/arch/hppa/include: spinlock.h
sys/arch/hppa64/include: spinlock.h
sys/arch/i386/include: spinlock.h
sys/arch/m68k/include: spinlock.h
sys/arch/m88k/include: spinlock.h
sys/arch/mips64/include: spinlock.h
sys/arch/powerpc/include: spinlock.h
sys/arch/sh/include: spinlock.h
sys/arch/sparc/include: spinlock.h
sys/arch/sparc64/include: spinlock.h
sys/arch/vax/include: spinlock.h
sys/kern : kern_synch.c
lib/librthread : rthread.c rthread.h rthread_file.c
rthread_fork.c rthread_libc.c rthread_rwlock.c
rthread_sem.c rthread_spin_lock.c
rthread_stack.c rthread_sync.c rthread_tls.c
lib/librthread/arch/alpha: _atomic_lock.S
lib/librthread/arch/amd64: _atomic_lock.c
lib/librthread/arch/arm: _atomic_lock.c
lib/librthread/arch/hppa: _atomic_lock.c
lib/librthread/arch/hppa64: _atomic_lock.c
lib/librthread/arch/i386: _atomic_lock.c
lib/librthread/arch/m68k: _atomic_lock.c
lib/librthread/arch/m88k: _atomic_lock.c
lib/librthread/arch/mips64: _atomic_lock.c
lib/librthread/arch/powerpc: _atomic_lock.c
lib/librthread/arch/sh: _atomic_lock.c
lib/librthread/arch/sparc: _atomic_lock.c
lib/librthread/arch/sparc64: _atomic_lock.c
lib/librthread/arch/vax: _atomic_lock.c
Removed files:
lib/libpthread/include: spinlock.h
Log message:
cleanup and consolidate the spinlock_lock (what a name!) code.
it's now atomic_lock to better reflect its usage, and librthread now
features a new spinlock that's really a ticket lock.
thrlseep can handle both types of lock via a flag in the clock arg.
(temp back compat hack)
remove some old stuff that's accumulated along the way and no longer used.
some feedback from dlg, who is concerned with all things ticket lock.
(you need to boot a new kernel before installing librthread)