mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
document that locks must not be aquired in f_event... (and where they
can be safely aquired) Reminded by: kib (by LOR #193) MFC: 3 days
This commit is contained in:
parent
e0dc351844
commit
cd457d4e39
1 changed files with 14 additions and 0 deletions
|
|
@ -188,6 +188,20 @@ will remove the note from the list, the
|
|||
function will not be called and the
|
||||
.Vt knote
|
||||
will not be returned as an event.
|
||||
.Pp
|
||||
Locks
|
||||
.Em must not
|
||||
be aquired in
|
||||
.Va f_event .
|
||||
If a lock is required in
|
||||
.Va f_event ,
|
||||
it must be obtained in the
|
||||
.Fa kl_lock
|
||||
function of the
|
||||
.Vt knlist
|
||||
that the
|
||||
.Va knote
|
||||
was added to.
|
||||
.El
|
||||
.Pp
|
||||
The function
|
||||
|
|
|
|||
Loading…
Reference in a new issue