cvs commit: src/sys/kern kern_sx.c src/sys/sys sx.h

John Baldwin jhb at FreeBSD.org
Sat May 19 20:18:13 UTC 2007


jhb         2007-05-19 20:18:12 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_sx.c 
    sys/sys              sx.h 
  Log:
  Expose sx_xholder() as a public macro.  It returns a pointer to the thread
  that holds the current exclusive lock, or NULL if no thread holds an
  exclusive lock.
  
  Requested by:   pjd
  
  Revision  Changes    Path
  1.49      +0 -8      src/sys/kern/kern_sx.c
  1.33      +8 -0      src/sys/sys/sx.h


More information about the cvs-src mailing list