cvs commit: src/sys/kern kern_condvar.c kern_synch.c subr_sleepqueue.c src/sys/sys sleepqueue.h src/share/man/man9 sleepqueue.9

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Nov 16 01:02:02 UTC 2006


pjd         2006-11-16 01:02:00 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_condvar.c kern_synch.c 
                         subr_sleepqueue.c 
    sys/sys              sleepqueue.h 
    share/man/man9       sleepqueue.9 
  Log:
  Change sleepq_add(9) argument from 'struct mtx *' to 'struct lock_object *',
  which allows to use it with different kinds of locks. For example it allows
  to implement Solaris conditions variables which will be used in ZFS port on
  top of sx(9) locks.
  
  Reviewed by:    jhb
  
  Revision  Changes    Path
  1.13      +3 -3      src/share/man/man9/sleepqueue.9
  1.56      +4 -4      src/sys/kern/kern_condvar.c
  1.284     +3 -2      src/sys/kern/kern_synch.c
  1.30      +3 -3      src/sys/kern/subr_sleepqueue.c
  1.8       +2 -2      src/sys/sys/sleepqueue.h


More information about the cvs-src mailing list