mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
Attempt to clarify some confusing wording regarding atomic_load() and
atomic_store().
This commit is contained in:
parent
9995e57b01
commit
e6b089446b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192536
@ -225,7 +225,7 @@ return (*addr)
|
||||
.Pp
|
||||
The
|
||||
.Fn atomic_load
|
||||
functions always have acquire semantics.
|
||||
functions are only provided with acquire memory barriers.
|
||||
.Bl -hang
|
||||
.It Fn atomic_readandclear addr
|
||||
.Bd -literal -compact
|
||||
@ -263,7 +263,7 @@ not have any variants with memory barriers at this time.
|
||||
.Pp
|
||||
The
|
||||
.Fn atomic_store
|
||||
functions always have release semantics.
|
||||
functions are only provided with release memory barriers.
|
||||
.Pp
|
||||
The type
|
||||
.Dq Li 64
|
||||
|
Loading…
Reference in New Issue
Block a user