[#BloombergLP-bslmt-Sluice-2constructor-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Sluice.adoc[Sluice]::Sluice
:relfileprefix: ../../../
:mrdocs:

Create a sluice&period; Use the specified `clockType` as the clock against which the `bsls&colon;&colon;TimeInterval` `absTime` timeouts passed to the `timedWait` method are to be interpreted (see &lcub;Supported Clock&hyphen;Types&rcub; in the component documentation)&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
Sluice(
    xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


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