[#absl-BlockingCounter-2constructor-0b]
= xref:absl.adoc[absl]::xref:absl/BlockingCounter.adoc[BlockingCounter]::BlockingCounter
:relfileprefix: ../../
:mrdocs:

Constructs a blocking counter with an initial count&period;

== Synopsis

Declared in `&lt;absl&sol;synchronization&sol;blocking&lowbar;counter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
BlockingCounter(int initial&lowbar;count);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *initial&lowbar;count*
| The non&hyphen;negative number of `DecrementCount()` calls required before `Wait()` unblocks&period;
|===


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