Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2006 21:11:33 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_mutex.c src/sys/sys mutex.h
Message-ID:  <200606032111.k53LBXWX093971@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2006-06-03 21:11:33 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_mutex.c 
    sys/sys              mutex.h 
  Log:
  Bah, fix fat finger in last.  Invert the ~ on MTX_FLAGMASK as it's
  non-intuitive for the ~ to be built into the mask.  All the users now
  explicitly ~ the mask.  In addition, add MTX_UNOWNED to the mask even
  though it technically isn't a flag.  This should unbreak mtx_owner().
  
  Quickly spotted by:     kris
  
  Revision  Changes    Path
  1.173     +2 -2      src/sys/kern/kern_mutex.c
  1.83      +2 -2      src/sys/sys/mutex.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606032111.k53LBXWX093971>