cvs commit: src/sys/kern kern_lock.c kern_mutex.c kern_rmlock.c
 kern_rwlock.c kern_sx.c src/sys/sys lock.h
    Attilio Rao 
    attilio at FreeBSD.org
       
    Sun Nov 18 06:43:53 PST 2007
    
    
  
attilio     2007-11-18 14:43:53 UTC
  FreeBSD src repository
  Modified files:
    sys/kern             kern_lock.c kern_mutex.c kern_rmlock.c 
                         kern_rwlock.c kern_sx.c 
    sys/sys              lock.h 
  Log:
  Expand lock class with the "virtual" function lc_assert which will offer
  an unified way for all the lock primitives to express lock assertions.
  Currenty, lockmgrs and rmlocks don't have assertions, so just panic in
  that case.
  This will be a base for more callout improvements.
  
  Ok'ed by: jhb, jeff
  
  Revision  Changes    Path
  1.112     +9 -0      src/sys/kern/kern_lock.c
  1.200     +10 -0     src/sys/kern/kern_mutex.c
  1.3       +9 -0      src/sys/kern/kern_rmlock.c
  1.31      +9 -0      src/sys/kern/kern_rwlock.c
  1.57      +9 -0      src/sys/kern/kern_sx.c
  1.70      +1 -0      src/sys/sys/lock.h
    
    
More information about the cvs-all
mailing list