attilio     2007-06-26 21:31:56 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_rwlock.c 
    sys/sys              _rwlock.h rwlock.h 
  Log:
  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 <[EMAIL PROTECTED]>
  Reviewed by: jhb
  Approved by: jeff (mentor)
  Approved by: re
  
  Revision  Changes    Path
  1.27      +85 -9     src/sys/kern/kern_rwlock.c
  1.4       +1 -0      src/sys/sys/_rwlock.h
  1.13      +17 -3     src/sys/sys/rwlock.h
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to