[#BloombergLP-bsls-AtomicOperations_DefaultUint64-00-swapUint64AcqRel] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AtomicOperations_DefaultUint64-00.adoc[AtomicOperations_DefaultUint64]::swapUint64AcqRel :relfileprefix: ../../../ :mrdocs: Atomically set the value of the specified `atomicUint` to the specified `swapValue` and return its previous value, providing the acquire/release memory ordering guarantee. == Synopsis Declared in `<bsls_atomicoperations_default.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bsls/Types/Uint64.adoc[Types::Uint64] swapUint64AcqRel( AtomicTypes::Uint64* atomicUint, xref:BloombergLP/bsls/Types/Uint64.adoc[Types::Uint64] swapValue); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#