cvs commit: src/sys/sys lock.h

John Baldwin jhb at FreeBSD.org
Wed Mar 21 22:18:11 UTC 2007


jhb         2007-03-21 22:18:11 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              lock.h 
  Log:
  Make use of 'lock_object' being the same field name in the witness_check*()
  macros.
  - witness_check() replaces witness_check_mtx() and
    witness_check_exclusive_sx() and checks for an exclusive acquire of
    either a mutex, rwlock, or sx lock.
  - witness_check_shared() replaces witness_check_shared_sx() and checks for
    a shared acquire of either a rwlock or sx lock.
  
  Revision  Changes    Path
  1.67      +4 -8      src/sys/sys/lock.h


More information about the cvs-src mailing list