Deleted Added
full compact
kqueue.9 (227116) kqueue.9 (232157)
1.\" Copyright 2006,2011 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.\"
1.\" Copyright 2006,2011 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 227116 2011-11-05 17:55:49Z jmg $
25.\" $FreeBSD: head/share/man/man9/kqueue.9 232157 2012-02-25 14:31:25Z gjb $
26.\"
26.\"
27.Dd November 5, 2011
27.Dd February 25, 2012
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 ,
34.Nm knlist_init , knlist_init_mtx ,
35.Nm knlist_add , knlist_remove , knlist_remove_inevent , knlist_empty ,

--- 253 unchanged lines hidden (view full) ---

289a function operating on
290.Dv MTX_DEF
291style
292.Xr mutex 9
293locks will be used instead.
294.Pp
295The function
296.Fn knlist_init_mtx
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 ,
34.Nm knlist_init , knlist_init_mtx ,
35.Nm knlist_add , knlist_remove , knlist_remove_inevent , knlist_empty ,

--- 253 unchanged lines hidden (view full) ---

289a function operating on
290.Dv MTX_DEF
291style
292.Xr mutex 9
293locks will be used instead.
294.Pp
295The function
296.Fn knlist_init_mtx
297may be used to initalize a
297may be used to initialize a
298.Vt knlist
299when
300.Fa lock
301is a
302.Dv MTX_DEF
303style
304.Xr mutex 9
305lock.

--- 145 unchanged lines hidden ---
298.Vt knlist
299when
300.Fa lock
301is a
302.Dv MTX_DEF
303style
304.Xr mutex 9
305lock.

--- 145 unchanged lines hidden ---