[#StdMutex-Guard-2constructor]
= xref:StdMutex.adoc[StdMutex]::xref:StdMutex/Guard.adoc[Guard]::Guard
:relfileprefix: ../../
:mrdocs:

Acquire the given mutex for the lifetime of this guard&period;

== Synopsis

Declared in `&lt;util&sol;stdmutex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;acquire&lowbar;capability(0x7f9522023e28), acquire&lowbar;capability(0x7f94f0a0a058)&rsqb;&rsqb;
explicit
Guard(xref:StdMutex.adoc[StdMutex]& cs);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cs*
| The mutex to lock&period;
|===


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