1.\" Copyright 2006 John-Mark Gurney 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/share/man/man9/kqueue.9 165589 2006-12-28 19:15:12Z jmg $ |
26.\" 27.Dd October 4, 2006 28.Dt KQUEUE 9 29.Os 30.Sh NAME 31.Nm kqueue_add_filteropts , kqueue_del_filteropts , 32.Nm kqfd_register , 33.Nm knote_fdclose , --- 149 unchanged lines hidden (view full) --- 183must be called. 184The function 185.Fn knlist_remove_inevent 186will remove the note from the list, the 187.Va f_detach 188function will not be called and the 189.Vt knote 190will not be returned as an event. |
191.Pp 192Locks 193.Em must not 194be aquired in 195.Va f_event . 196If a lock is required in 197.Va f_event , 198it must be obtained in the 199.Fa kl_lock 200function of the 201.Vt knlist 202that the 203.Va knote 204was added to. |
205.El 206.Pp 207The function 208.Fn kqfd_register 209will register the 210.Vt kevent 211on the kqueue file descriptor 212.Fa fd . --- 163 unchanged lines hidden --- |