mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
kqueue(9): sweep references to knlist_remove_inevent()
knlist_remove_inevent() gone in 9e590ff04b
This commit is contained in:
parent
db55051729
commit
b3a714652f
|
@ -51,6 +51,9 @@
|
||||||
# xargs -n1 | sort | uniq -d;
|
# xargs -n1 | sort | uniq -d;
|
||||||
# done
|
# done
|
||||||
|
|
||||||
|
# 20230826:
|
||||||
|
OLD_FILES+=usr/share/man/man9/knlist_remove_inevent.9.gz
|
||||||
|
|
||||||
# 20230825: caroot bundle updated
|
# 20230825: caroot bundle updated
|
||||||
OLD_FILES+=usr/share/certs/trusted/E-Tugra_Certification_Authority.pem
|
OLD_FILES+=usr/share/certs/trusted/E-Tugra_Certification_Authority.pem
|
||||||
OLD_FILES+=usr/share/certs/trusted/E-Tugra_Global_Root_CA_ECC_v3.pem
|
OLD_FILES+=usr/share/certs/trusted/E-Tugra_Global_Root_CA_ECC_v3.pem
|
||||||
|
|
|
@ -1394,7 +1394,6 @@ MLINKS+=kqueue.9 knlist_add.9 \
|
||||||
kqueue.9 knlist_init.9 \
|
kqueue.9 knlist_init.9 \
|
||||||
kqueue.9 knlist_init_mtx.9 \
|
kqueue.9 knlist_init_mtx.9 \
|
||||||
kqueue.9 knlist_remove.9 \
|
kqueue.9 knlist_remove.9 \
|
||||||
kqueue.9 knlist_remove_inevent.9 \
|
|
||||||
kqueue.9 knote_fdclose.9 \
|
kqueue.9 knote_fdclose.9 \
|
||||||
kqueue.9 KNOTE_LOCKED.9 \
|
kqueue.9 KNOTE_LOCKED.9 \
|
||||||
kqueue.9 KNOTE_UNLOCKED.9 \
|
kqueue.9 KNOTE_UNLOCKED.9 \
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
.Nm kqfd_register ,
|
.Nm kqfd_register ,
|
||||||
.Nm knote_fdclose ,
|
.Nm knote_fdclose ,
|
||||||
.Nm knlist_init , knlist_init_mtx ,
|
.Nm knlist_init , knlist_init_mtx ,
|
||||||
.Nm knlist_add , knlist_remove , knlist_remove_inevent , knlist_empty ,
|
.Nm knlist_add , knlist_remove , knlist_empty ,
|
||||||
.Nm knlist_clear , knlist_delete , knlist_destroy ,
|
.Nm knlist_clear , knlist_delete , knlist_destroy ,
|
||||||
.Nm KNOTE_LOCKED , KNOTE_UNLOCKED
|
.Nm KNOTE_LOCKED , KNOTE_UNLOCKED
|
||||||
.Nd "event delivery subsystem"
|
.Nd "event delivery subsystem"
|
||||||
|
@ -58,8 +58,6 @@
|
||||||
.Fn knlist_add "struct knlist *knl" "struct knote *kn" "int islocked"
|
.Fn knlist_add "struct knlist *knl" "struct knote *kn" "int islocked"
|
||||||
.Ft void
|
.Ft void
|
||||||
.Fn knlist_remove "struct knlist *knl" "struct knote *kn" "int islocked"
|
.Fn knlist_remove "struct knlist *knl" "struct knote *kn" "int islocked"
|
||||||
.Ft void
|
|
||||||
.Fn knlist_remove_inevent "struct knlist *knl" "struct knote *kn"
|
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn knlist_empty "struct knlist *knl"
|
.Fn knlist_empty "struct knlist *knl"
|
||||||
.Ft void
|
.Ft void
|
||||||
|
@ -157,8 +155,7 @@ function will be called to detach the
|
||||||
if the
|
if the
|
||||||
.Vt knote
|
.Vt knote
|
||||||
has not already been detached by a call to
|
has not already been detached by a call to
|
||||||
.Fn knlist_remove ,
|
.Fn knlist_remove
|
||||||
.Fn knlist_remove_inevent
|
|
||||||
or
|
or
|
||||||
.Fn knlist_delete .
|
.Fn knlist_delete .
|
||||||
The list
|
The list
|
||||||
|
@ -186,16 +183,6 @@ The
|
||||||
.Va kn_data
|
.Va kn_data
|
||||||
value should be updated as necessary to reflect the current value, such as
|
value should be updated as necessary to reflect the current value, such as
|
||||||
number of bytes available for reading, or buffer space available for writing.
|
number of bytes available for reading, or buffer space available for writing.
|
||||||
If the note needs to be removed,
|
|
||||||
.Fn knlist_remove_inevent
|
|
||||||
must be called.
|
|
||||||
The function
|
|
||||||
.Fn knlist_remove_inevent
|
|
||||||
will remove the note from the list, the
|
|
||||||
.Va f_detach
|
|
||||||
function will not be called and the
|
|
||||||
.Vt knote
|
|
||||||
will not be returned as an event.
|
|
||||||
.Pp
|
.Pp
|
||||||
Locks
|
Locks
|
||||||
.Em must not
|
.Em must not
|
||||||
|
|
Loading…
Reference in a new issue