[#BloombergLP-bsls-AtomicOperations_DefaultUint-0d7-swapUintAcqRel] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AtomicOperations_DefaultUint-0d7.adoc[AtomicOperations_DefaultUint]::swapUintAcqRel :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 unsigned int swapUintAcqRel( AtomicTypes::Uint* atomicUint, unsigned int swapValue); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#