mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
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
This commit is contained in:
parent
8d9b29bec1
commit
115eec0e6f
1 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue