rwatson 2007-02-26 19:05:13 UTC
FreeBSD src repository
Modified files:
sys/sys rwlock.h
sys/kern kern_rwlock.c
Log:
Add rw_wowned() interface to rwlock(9), allowing a kernel thread to
determine if it holds an exclusive rwlock reference or not. This is
non-ideal, but recursion scenarios in the network stack currently
require it.
Approved by: jhb
Revision Changes Path
1.14 +7 -0 src/sys/kern/kern_rwlock.c
1.7 +1 -0 src/sys/sys/rwlock.h
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"