cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h
Garrett Wollman
wollman at lcs.mit.edu
Tue Apr 29 11:00:35 PDT 2003
<<On Tue, 29 Apr 2003 11:55:24 -0600 (MDT), "M. Warner Losh" <imp at bsdimp.com> said:
> This likely means that some higher level of locking is necessary so
> that we can make sure that the interrupts can't happen once detach
> starts.
What am I missing here? You can just disable interrupts in the
hardware first thing, while holding whatever lock the handler would
normally need to obtain, then force-terminate the handler thread if it
happens to be waiting for that lock after you're done tearing it down.
-GAWollman
More information about the cvs-src
mailing list