[#BloombergLP-bslmt-ThreadUtil-microSleep] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtil.adoc[ThreadUtil]::microSleep :relfileprefix: ../../../ :mrdocs: Suspend execution of the current thread for a period of at least the specified `microseconds` and the optionally specified `seconds` (relative time), or an interrupting signal is received. Note that the actual time suspended depends on many factors including system scheduling and system timer resolution, and may be significantly longer than the time requested. == Synopsis Declared in `<bslmt_threadutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void microSleep( int microseconds, int seconds = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#