[#CountingSemaphoreGrant-Acquire]
= xref:CountingSemaphoreGrant.adoc[CountingSemaphoreGrant]::Acquire
:relfileprefix: ../
:mrdocs:

Acquires the semaphore, blocking until a slot is available&period;

== Synopsis

Declared in `&lt;semaphore&lowbar;grant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
Acquire() noexcept;
----


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