Date: Sun, 12 Oct 2003 14:02:55 -0700 (PDT) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys mutex.h Message-ID: <200310122102.h9CL2txf053906@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310122102.h9CL2txf053906>
