CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2014/07/09 07:32:00
Modified files: sys/kern : kern_lock.c kern_rwlock.c sys/sys : lock.h rwlock.h Log message: Teach rw_status() and rrw_status() to return LK_EXCLOTHER if it's write locked by a different thread. Teach lockstatus() to return LK_EXCLUSIVE if an exclusive lock is held by some other thread. ok beck@ tedu@