kqueue (9)

Dag-Erling Smørgrav des at des.no
Thu Apr 5 17:00:10 UTC 2007


"Kevin Sanders" <newroswell at gmail.com> writes:
> I'm trying to gain a better understanding of how kqueue's work from the
> driver side.  I've managed to glean enough information from the source of
> other drivers, but I'm having a problem in my own kernel module when it is
> unloaded.  Specifically, when my module is unloaded and there are user
> programs that have kqueue's with open descriptors from my driver in them, I
> don't know how to close things down from the driver side.  Any advice or
> links would be appreciated.  Thanks in advance.

This is usually handled by refusing to unload the module if it still
as active consumers.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list