Date: Fri, 24 Sep 2004 05:54:32 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys conf.h src/sys/kern kern_conf.c Message-ID: <200409240554.i8O5sWBu099910@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2004-09-24 05:54:32 UTC FreeBSD src repository Modified files: sys/sys conf.h sys/kern kern_conf.c Log: Introduce dev_re[lf]thread() functions. dev_refthread() will return the cdevsw pointer or NULL. If the return value is non-NULL a threadcount is held which much be released with dev_relthread(). If the returned cdevsw is NULL no threadcount is held on the device. Revision Changes Path 1.159 +25 -0 src/sys/kern/kern_conf.c 1.197 +3 -0 src/sys/sys/conf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409240554.i8O5sWBu099910>