Date: Sat, 19 May 2007 20:18:12 +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_sx.c src/sys/sys sx.h Message-ID: <200705192018.l4JKICEk003233@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705192018.l4JKICEk003233>
