[#BloombergLP-bslmt-ThreadUtil-sleepUntil-0be]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtil.adoc[ThreadUtil]::sleepUntil
:relfileprefix: ../../../
:mrdocs:

`sleepUntil` overloads

== Synopses

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

Suspend the current thread until the specified absolute time point&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class CLOCK,
    class DURATION&gt;
static
void
xref:BloombergLP/bslmt/ThreadUtil/sleepUntil-0b1.adoc[sleepUntil](bsl::chrono::time&lowbar;point&lt;CLOCK, DURATION&gt; const& absoluteTime);
----

[.small]#xref:BloombergLP/bslmt/ThreadUtil/sleepUntil-0b1.adoc[_» more&period;&period;&period;_]#

Suspend the current thread until the specified absolute time&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bslmt/ThreadUtil/sleepUntil-0c.adoc[sleepUntil](
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& absoluteTime,
    xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType = bsls&colon;&colon;SystemClockType&colon;&colon;e&lowbar;REALTIME);
----

[.small]#xref:BloombergLP/bslmt/ThreadUtil/sleepUntil-0c.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *absoluteTime*
| absolute time point at which to resume
| *clockType*
| clock epoch used to interpret `absoluteTime`
|===


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