mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165589
@ -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 New Issue
Block a user