kproc.9 (211397) | kproc.9 (233648) |
---|---|
1.\" Copyright (c) 2000-2001 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 9 unchanged lines hidden (view full) --- 18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" | 1.\" Copyright (c) 2000-2001 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 9 unchanged lines hidden (view full) --- 18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/share/man/man9/kproc.9 211397 2010-08-16 15:18:30Z joel $ | 26.\" $FreeBSD: head/share/man/man9/kproc.9 233648 2012-03-29 05:02:12Z eadler $ |
27.\" 28.Dd October 19, 2007 29.Dt KPROC 9 30.Os 31.Sh NAME 32.Nm kproc_start , 33.Nm kproc_shutdown , 34.Nm kproc_create , --- 37 unchanged lines hidden (view full) --- 72.Fn kproc* 9 73family of functions, as they were misnamed 74and actually produced kernel processes. 75A new family of 76.Em different 77.Fn kthread_* 9 78functions was added to produce 79.Em real | 27.\" 28.Dd October 19, 2007 29.Dt KPROC 9 30.Os 31.Sh NAME 32.Nm kproc_start , 33.Nm kproc_shutdown , 34.Nm kproc_create , --- 37 unchanged lines hidden (view full) --- 72.Fn kproc* 9 73family of functions, as they were misnamed 74and actually produced kernel processes. 75A new family of 76.Em different 77.Fn kthread_* 9 78functions was added to produce 79.Em real |
80kernel 81.Em threads . | 80kernel 81.Em threads . |
82See the 83.Xr kthread 9 84man page for more information on those calls. 85Also note that the 86.Fn kproc_kthread_add 9 87function appears in both pages as its functionality is split. 88.Pp 89The function --- 132 unchanged lines hidden (view full) --- 222function is meant to be registered as a shutdown event for kernel processes that 223need to be suspended voluntarily during system shutdown so as not to interfere 224with system shutdown activities. 225The actual suspension of the kernel process is done with 226.Fn kproc_suspend . 227.Pp 228The 229.Fn kproc_kthread_add | 82See the 83.Xr kthread 9 84man page for more information on those calls. 85Also note that the 86.Fn kproc_kthread_add 9 87function appears in both pages as its functionality is split. 88.Pp 89The function --- 132 unchanged lines hidden (view full) --- 222function is meant to be registered as a shutdown event for kernel processes that 223need to be suspended voluntarily during system shutdown so as not to interfere 224with system shutdown activities. 225The actual suspension of the kernel process is done with 226.Fn kproc_suspend . 227.Pp 228The 229.Fn kproc_kthread_add |
230function is much like the | 230function is much like the |
231.Fn kproc_create 232function above except that if the kproc already exists, 233then only a new thread (see 234.Xr kthread 9 ) 235is created on the existing process. 236The 237.Fa func 238argument specifies the function that the process should execute. --- 157 unchanged lines hidden --- | 231.Fn kproc_create 232function above except that if the kproc already exists, 233then only a new thread (see 234.Xr kthread 9 ) 235is created on the existing process. 236The 237.Fa func 238argument specifies the function that the process should execute. --- 157 unchanged lines hidden --- |