Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2024 04:57:25 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 40319a5e589c - stable/14 - atomic.9: Document atomic_testand*_64 and atomic_testandset_acq_long
Message-ID:  <202412010457.4B14vPc6095906@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=40319a5e589cbba00c007c36209338f89d3dbef6

commit 40319a5e589cbba00c007c36209338f89d3dbef6
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-11-19 15:24:06 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-12-01 02:46:08 +0000

    atomic.9: Document atomic_testand*_64 and atomic_testandset_acq_long
    
    Reviewed by:    kib
    Sponsored by:   AFRL, DARPA
    Differential Revision:  https://reviews.freebsd.org/D47630
    
    (cherry picked from commit 3ca22e1e8fc8ce927b3d064b29dfdc5df252e102)
---
 share/man/man9/atomic.9 | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9
index 98d392dd6032..436cfb7ee225 100644
--- a/share/man/man9/atomic.9
+++ b/share/man/man9/atomic.9
@@ -20,7 +20,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 16, 2023
+.Dd November 19, 2024
 .Dt ATOMIC 9
 .Os
 .Sh NAME
@@ -480,10 +480,13 @@ and
 .Fn atomic_testandclear
 functions are only implemented for the types
 .Dq Li int ,
-.Dq Li long
+.Dq Li long ,
+.Dq Li 32 ,
 and
-.Dq Li 32
-and do not have any variants with memory barriers at this time.
+.Dq Li 64
+and generally do not have any variants with memory barriers at this time
+except for
+.Fn atomic_testandset_acq_long .
 .Pp
 The type
 .Dq Li 64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412010457.4B14vPc6095906>