atomic.9 (87999) | atomic.9 (89124) |
---|---|
1.\" Copyright (c) 2000-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. --- 7 unchanged lines hidden (view full) --- 16.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 17.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" | 1.\" Copyright (c) 2000-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. --- 7 unchanged lines hidden (view full) --- 16.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 17.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" |
24.\" $FreeBSD: head/share/man/man9/atomic.9 87999 2001-12-15 21:28:02Z jake $ | 24.\" $FreeBSD: head/share/man/man9/atomic.9 89124 2002-01-09 11:43:48Z mpp $ |
25.\" 26.Dd October 27, 2000 27.Os 28.Dt ATOMIC 9 29.Sh NAME 30.Nm atomic_add , 31.Nm atomic_clear , 32.Nm atomic_cmpset , --- 241 unchanged lines hidden (view full) --- 274The 275.Fn atomic_add , 276.Fn atomic_clear , 277.Fn atomic_set , 278and 279.Fn atomic_subtract 280operations were first introduced in 281.Fx 3.0 . | 25.\" 26.Dd October 27, 2000 27.Os 28.Dt ATOMIC 9 29.Sh NAME 30.Nm atomic_add , 31.Nm atomic_clear , 32.Nm atomic_cmpset , --- 241 unchanged lines hidden (view full) --- 274The 275.Fn atomic_add , 276.Fn atomic_clear , 277.Fn atomic_set , 278and 279.Fn atomic_subtract 280operations were first introduced in 281.Fx 3.0 . |
282This first set only suppored the types char, short, int, and long. | 282This first set only supported the types char, short, int, and long. |
283The 284.Fn atomic_cmpset , 285.Fn atomic_load , 286.Fn atomic_readandclear , 287and 288.Fn atomic_store 289operations were added in 290.Fx 5.0 . 291The types 8, 16, 32, 64, and ptr and all of the acquire and release variants 292were added in 293.Fx 5.0 294as well. | 283The 284.Fn atomic_cmpset , 285.Fn atomic_load , 286.Fn atomic_readandclear , 287and 288.Fn atomic_store 289operations were added in 290.Fx 5.0 . 291The types 8, 16, 32, 64, and ptr and all of the acquire and release variants 292were added in 293.Fx 5.0 294as well. |