git: 3ca22e1e8fc8 - main - atomic.9: Document atomic_testand*_64 and atomic_testandset_acq_long
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Nov 2024 15:28:44 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=3ca22e1e8fc8ce927b3d064b29dfdc5df252e102
commit 3ca22e1e8fc8ce927b3d064b29dfdc5df252e102
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-11-19 15:24:06 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-11-19 15:24:29 +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
---
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