[#absl-SleepFor] = xref:absl.adoc[absl]::SleepFor :relfileprefix: ../ :mrdocs: Sleeps for the specified duration, expressed as an `absl::Duration`. == Synopsis Declared in `<absl/time/clock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SleepFor(xref:absl/Duration.adoc[absl::Duration] duration); ---- == Description Notes: * Signal interruptions will not reduce the sleep duration. * Returns immediately when passed a nonpositive duration. == Parameters [cols="1,4"] |=== | Name| Description | *duration* | The length of time to sleep. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#