darrenr 2004-07-11 16:07:07 UTC
FreeBSD src repository
Modified files:
sys/sys sx.h
Log:
Add sx_unlock() macro as a frontend to both sx_sunlock() and sx_xunlock(),
using sx_cnt to determine what state the lock is in and call the respective
function appropriately.
Revision Changes Path
1.20 +7 -0 src/sys/sys/sx.h