cvs commit: src/sys/kern kern_rwlock.c

Jeff Roberson jeff at FreeBSD.org
Wed Feb 6 22:17:05 PST 2008


jeff        2008-02-07 06:16:54 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_rwlock.c 
  Log:
   - In rw_wunlock_hard prefer to wakeup writers if there are both readers
     and writers available.  Doing otherwise can cause deadlocks as no
     read locks can proceed while there are write waiters.
  
  Sponsored by:   Nokia
  
  Revision  Changes    Path
  1.36      +4 -4      src/sys/kern/kern_rwlock.c


More information about the cvs-src mailing list