summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_timeout.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2007-06-26 21:31:56 +0000
committerattilio <attilio@FreeBSD.org>2007-06-26 21:31:56 +0000
commit15389329a0e4e6702f7710bd904131886e2a6d1d (patch)
tree01d938185524f979f8f9cf5b1897143b4bc7c502 /sys/kern/kern_timeout.c
parent86ec24429c5ca4f74e61d7e40eb5b058d894997e (diff)
downloadFreeBSD-src-15389329a0e4e6702f7710bd904131886e2a6d1d.zip
FreeBSD-src-15389329a0e4e6702f7710bd904131886e2a6d1d.tar.gz
Introduce a new rwlocks initialization function: rw_init_flags.
This is very similar to sx_init_flags: it initializes the rwlock using special flags passed as third argument (RW_DUPOK, RW_NOPROFILE, RW_NOWITNESS, RW_QUIET, RW_RECURSE). Among these, the most important new feature is probabilly that rwlocks can be acquired recursively now (for both shared and exclusive paths). Because of the recursion counter, the ABI is changed. Tested by: Timothy Redaelli <drizzt@gufi.org> Reviewed by: jhb Approved by: jeff (mentor) Approved by: re
Diffstat (limited to 'sys/kern/kern_timeout.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud