cvs commit: src/sys/sys mutex.h

Jeff Roberson jeff at FreeBSD.org
Sun Oct 12 14:02:56 PDT 2003


jeff        2003/10/12 14:02:55 PDT

  FreeBSD src repository

  Modified files:
    sys/sys              mutex.h 
  Log:
   - Implement a mtx_ownedby() macro which can be used to determine if a
     particular thread owns a mutex.  This cannot be done without races
     unless the thread is curthread.
  
  Revision  Changes    Path
  1.66      +6 -1      src/sys/sys/mutex.h


More information about the cvs-src mailing list