[#BloombergLP-bslmt-FastPostSemaphore-2constructor-029]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/FastPostSemaphore.adoc[FastPostSemaphore]::FastPostSemaphore
:relfileprefix: ../../../
:mrdocs:

Create a `FastPostSemaphore` object initially having the specified `count`&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;fastpostsemaphore&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
FastPostSemaphore(
    int count,
    std::chrono::steady&lowbar;clock const& steadyClock);
----

== Description

Use the monotonic system clock as the clock against which the `absTime` timeouts passed to the `timedWait` methods are interpreted (see &lcub;Supported Clock&hyphen;Types&rcub; in the component&hyphen;level documentation)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *count*
| initial number of available resources
| *steadyClock*
| tag selecting the system monotonic clock
|===


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