[#BloombergLP-bslmt-ThreadUtil-sleep-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtil.adoc[ThreadUtil]::sleep :relfileprefix: ../../../ :mrdocs: Suspend execution of the current thread for a period of at least the specified (relative) `sleepTime`, or an interrupting signal is received. Note that the actual time suspended depends on many factors including system scheduling and system timer resolution. == Synopses Declared in `<bslmt_threadutil.h>` Suspend execution of the current thread for a period of at least the specified (relative) `sleepTime`, or an interrupting signal is received. Note that the actual time suspended depends on many factors including system scheduling and system timer resolution. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xref:BloombergLP/bslmt/ThreadUtil/sleep-0e.adoc[sleep](xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& sleepTime); ---- [.small]#xref:BloombergLP/bslmt/ThreadUtil/sleep-0e.adoc[_» more..._]# Suspend execution of the current thread for a period of at least the specified (relative) `sleepTime`, or an interrupting signal is received. Note that the actual time suspended depends on many factors including system scheduling and system timer resolution. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class REP_TYPE, class PERIOD_TYPE> static void xref:BloombergLP/bslmt/ThreadUtil/sleep-00.adoc[sleep](bsl::chrono::duration<REP_TYPE, PERIOD_TYPE> const& sleepTime); ---- [.small]#xref:BloombergLP/bslmt/ThreadUtil/sleep-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#