summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2004-02-10 20:34:44 +0000
committerjmg <jmg@FreeBSD.org>2004-02-10 20:34:44 +0000
commit4c9c51e06e6a1b3cd63868a2fcd7b412a9fb7266 (patch)
treeb43f91106c7983224983be34cba39b30bfbb1b5b /share/man
parent1fcbd5275da3c239fc256809b0432c9e26161474 (diff)
downloadFreeBSD-src-4c9c51e06e6a1b3cd63868a2fcd7b412a9fb7266.zip
FreeBSD-src-4c9c51e06e6a1b3cd63868a2fcd7b412a9fb7266.tar.gz
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
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/BUS_SETUP_INTR.96
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man9/BUS_SETUP_INTR.9 b/share/man/man9/BUS_SETUP_INTR.9
index 88dc637..9310038 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.
OpenPOWER on IntegriCloud