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

Initialize the specified `atomicInt` and set its value to the optionally specified `initialValue`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
initInt64(
    xref:BloombergLP/bsls/Atomic_TypeTraits-0b/Int64.adoc[AtomicTypes::Int64]* atomicInt,
    xref:BloombergLP/bsls/Types/Int64.adoc[Types::Int64] initialValue = 0);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *atomicInt*
| atomic 64&hyphen;bit integer to initialize
| *initialValue*
| initial value to store
|===


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