sx.9 (139736) | sx.9 (140140) |
---|---|
1.\" 2.\" Copyright (C) 2001 Jason Evans <jasone@FreeBSD.org>. 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(s), this list of conditions and the following disclaimer as --- 10 unchanged lines hidden (view full) --- 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 22.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 25.\" DAMAGE. 26.\" | 1.\" 2.\" Copyright (C) 2001 Jason Evans <jasone@FreeBSD.org>. 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(s), this list of conditions and the following disclaimer as --- 10 unchanged lines hidden (view full) --- 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 22.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 25.\" DAMAGE. 26.\" |
27.\" $FreeBSD: head/share/man/man9/sx.9 139736 2005-01-05 22:04:12Z keramida $ | 27.\" $FreeBSD: head/share/man/man9/sx.9 140140 2005-01-12 21:48:25Z ru $ |
28.\" | 28.\" |
29.Dd August 14, 2001 | 29.Dd January 5, 2005 |
30.Dt SX 9 31.Os 32.Sh NAME 33.Nm sx , 34.Nm sx_init , 35.Nm sx_destroy , 36.Nm sx_slock , 37.Nm sx_xlock , --- 29 unchanged lines hidden (view full) --- 67.Fn sx_xunlock "struct sx *sx" 68.Ft int 69.Fn sx_try_upgrade "struct sx *sx" 70.Ft void 71.Fn sx_downgrade "struct sx *sx" 72.Ft void 73.Fn sx_assert "struct sx *sx" "int what" 74.\" | 30.Dt SX 9 31.Os 32.Sh NAME 33.Nm sx , 34.Nm sx_init , 35.Nm sx_destroy , 36.Nm sx_slock , 37.Nm sx_xlock , --- 29 unchanged lines hidden (view full) --- 67.Fn sx_xunlock "struct sx *sx" 68.Ft int 69.Fn sx_try_upgrade "struct sx *sx" 70.Ft void 71.Fn sx_downgrade "struct sx *sx" 72.Ft void 73.Fn sx_assert "struct sx *sx" "int what" 74.\" |
75.Ss sx utility macros | 75.Ss Nm Ss utility macros |
76.Fn sx_unlock "struct sx *sx" 77.Fn SX_SYSINIT "name" "struct sx *sx" "const char *description" 78.\" 79.Ss Kernel options 80.Cd "options INVARIANTS" 81.Cd "options INVARIANT_SUPPORT" 82.Sh DESCRIPTION 83Shared/exclusive locks are used to protect data that are read far more often --- 144 unchanged lines hidden --- | 76.Fn sx_unlock "struct sx *sx" 77.Fn SX_SYSINIT "name" "struct sx *sx" "const char *description" 78.\" 79.Ss Kernel options 80.Cd "options INVARIANTS" 81.Cd "options INVARIANT_SUPPORT" 82.Sh DESCRIPTION 83Shared/exclusive locks are used to protect data that are read far more often --- 144 unchanged lines hidden --- |