cvs commit: src/sys/sys conf.h src/sys/kern kern_conf.c

Poul-Henning Kamp phk at FreeBSD.org
Thu Sep 23 22:54:33 PDT 2004


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


More information about the cvs-src mailing list