jhb         2006-04-17 21:11:01 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_rwlock.c 
  Log:
  - Add a rw_wowner() macro that just returns the owner of a write lock and
    use it in places that only care about the write owner instead of
    rw_owner() as a baby step towards limited read-lock owner.
  - Tidy the code that sets the WAITER flag bits to not duplicate a test
    around the atomic operation and the KTR trace in both of the lock
    functions.
  
  Revision  Changes    Path
  1.6       +38 -26    src/sys/kern/kern_rwlock.c
_______________________________________________
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