From 115eec0e6ffde069b966520e784ce99b32bc461d Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Tue, 10 Feb 2004 20:34:44 +0000 Subject: [PATCH] add verbage about how once BUS_TEARDOWN_INTR returns, the interrupt will no longer be active or called.. Also document requirement that no mutexes be held across calls to these functions.. Reviewed by: jhb, rwatson --- share/man/man9/BUS_SETUP_INTR.9 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/share/man/man9/BUS_SETUP_INTR.9 b/share/man/man9/BUS_SETUP_INTR.9 index 88dc6379cb0..9310038b9a3 100644 --- a/share/man/man9/BUS_SETUP_INTR.9 +++ b/share/man/man9/BUS_SETUP_INTR.9 @@ -101,6 +101,12 @@ The interrupt handler will be detached by The cookie needs to be passed to .Fn BUS_TEARDOWN_INTR in order to tear down the correct interrupt handler. +Once +.Fn BUS_TEARDOWN_INTR +returns, it is guaranteed that the interrupt function is not active and +will no longer be called. +.Pp +Mutexes are not allowed to be held across calls to these functions. .Sh RETURN VALUES Zero is returned on success, otherwise an appropriate error is returned.