[#BloombergLP-bsls-AtomicOperations-setInt]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AtomicOperations.adoc[AtomicOperations]::setInt
:relfileprefix: ../../../
:mrdocs:

Atomically set the value of the specified `atomicInt` to the specified `value`, providing the sequential consistency memory ordering guarantee&period;

== Synopsis

Declared in `&lt;bsls&lowbar;atomicoperations&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
setInt(
    xref:BloombergLP/bsls/Atomic_TypeTraits-0b/Int.adoc[AtomicTypes::Int]* atomicInt,
    int value);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *atomicInt*
| atomic integer to modify
| *value*
| value to store
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
