timeout.9 (213573) | timeout.9 (233648) |
---|---|
1.\" $NetBSD: timeout.9,v 1.2 1996/06/23 22:32:34 pk Exp $ 2.\" 3.\" Copyright (c) 1996 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Paul Kranenburg. 8.\" --- 13 unchanged lines hidden (view full) --- 22.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" POSSIBILITY OF SUCH DAMAGE. 29.\" | 1.\" $NetBSD: timeout.9,v 1.2 1996/06/23 22:32:34 pk Exp $ 2.\" 3.\" Copyright (c) 1996 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Paul Kranenburg. 8.\" --- 13 unchanged lines hidden (view full) --- 22.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" POSSIBILITY OF SUCH DAMAGE. 29.\" |
30.\" $FreeBSD: head/share/man/man9/timeout.9 213573 2010-10-08 12:40:16Z uqs $ | 30.\" $FreeBSD: head/share/man/man9/timeout.9 233648 2012-03-29 05:02:12Z eadler $ |
31.\" 32.Dd August 2, 2008 33.Dt TIMEOUT 9 34.Os 35.Sh NAME 36.Nm timeout , 37.Nm untimeout , 38.Nm callout_handle_init , --- 153 unchanged lines hidden (view full) --- 192are low-level routines for clients who wish to allocate their own 193callout structures. 194.Pp 195The function 196.Fn callout_init 197initializes a callout so it can be passed to 198.Fn callout_stop , 199.Fn callout_drain , | 31.\" 32.Dd August 2, 2008 33.Dt TIMEOUT 9 34.Os 35.Sh NAME 36.Nm timeout , 37.Nm untimeout , 38.Nm callout_handle_init , --- 153 unchanged lines hidden (view full) --- 192are low-level routines for clients who wish to allocate their own 193callout structures. 194.Pp 195The function 196.Fn callout_init 197initializes a callout so it can be passed to 198.Fn callout_stop , 199.Fn callout_drain , |
200.Fn callout_reset | 200.Fn callout_reset |
201or | 201or |
202.Fn callout_schedule | 202.Fn callout_schedule |
203without any side effects. 204If the 205.Fa mpsafe 206argument is zero, 207the callout structure is not considered to be 208.Dq multi-processor safe ; 209that is, 210the Giant lock will be acquired before calling the callout function, --- 351 unchanged lines hidden --- | 203without any side effects. 204If the 205.Fa mpsafe 206argument is zero, 207the callout structure is not considered to be 208.Dq multi-processor safe ; 209that is, 210the Giant lock will be acquired before calling the callout function, --- 351 unchanged lines hidden --- |