Deleted Added
full compact
ithread.9 (84450) ithread.9 (89124)
1.\" Copyright (c) 2001 John H. Baldwin <jhb@FreeBSD.org>
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 (c) 2001 John H. Baldwin <jhb@FreeBSD.org>
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/ithread.9 84450 2001-10-04 08:59:53Z bde $
25.\" $FreeBSD: head/share/man/man9/ithread.9 89124 2002-01-09 11:43:48Z mpp $
26.\"
27.Dd February 10, 2001
28.Dt ITHREAD 9
29.Os
30.Sh NAME
31.Nm ithread_add_handler ,
32.Nm ithread_create ,
33.Nm ithread_destroy ,

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

106and
107.Fa disable
108arguments specify optional functions used to enable and disable this
109interrupt thread's interrupt source.
110The functions receive the vector corresponding to the thread's interrupt
111source as their only argument.
112The remaining arguments form a
113.Xr printf 9
26.\"
27.Dd February 10, 2001
28.Dt ITHREAD 9
29.Os
30.Sh NAME
31.Nm ithread_add_handler ,
32.Nm ithread_create ,
33.Nm ithread_destroy ,

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

106and
107.Fa disable
108arguments specify optional functions used to enable and disable this
109interrupt thread's interrupt source.
110The functions receive the vector corresponding to the thread's interrupt
111source as their only argument.
112The remaining arguments form a
113.Xr printf 9
114agument list that is used to build the base name of the new ithread.
114argument list that is used to build the base name of the new ithread.
115The full name of an interrupt thread is formed by concatenating the base
116name of an interrupt thread with the names of all of its interrupt handlers.
117.Pp
118The
119.Fn ithread_destroy
120function destroys a previously created interrupt thread by releasing its
121resources and arranging for the backing kernel thread to terminate.
122An interrupt thread can only be destroyed if it has no handlers remaining.

--- 232 unchanged lines hidden ---
115The full name of an interrupt thread is formed by concatenating the base
116name of an interrupt thread with the names of all of its interrupt handlers.
117.Pp
118The
119.Fn ithread_destroy
120function destroys a previously created interrupt thread by releasing its
121resources and arranging for the backing kernel thread to terminate.
122An interrupt thread can only be destroyed if it has no handlers remaining.

--- 232 unchanged lines hidden ---