[#BloombergLP-bslmt-Condition-2constructor-0b8] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Condition.adoc[Condition]::Condition :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bslmt_condition.h>` Create a condition variable object. Optionally specify a `clockType` indicating the type of the system clock against which the `bsls::TimeInterval` `absTime` timeouts passed to the `timedWait` method are to be interpreted (see {Supported Clock‐Types} in the component‐level documentation). If `clockType` is not specified then the realtime system clock is used. This method does not return normally unless there are sufficient system resources to construct the object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bslmt/Condition/2constructor-0f.adoc[Condition](xref:BloombergLP/bsls/SystemClockType/Enum.adoc[bsls::SystemClockType::Enum] clockType = bsls::SystemClockType::e_REALTIME); ---- [.small]#xref:BloombergLP/bslmt/Condition/2constructor-0f.adoc[_» more..._]# Create a condition variable object. Use the monotonic system clock as the clock against which the `absTime` timeouts passed to the `timedWait` methods are interpreted (see {Supported Clock‐Types} in the component‐level documentation). This method does not return normally unless there are sufficient system resources to construct the object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bslmt/Condition/2constructor-09.adoc[Condition](std::chrono::steady_clock const&); ---- [.small]#xref:BloombergLP/bslmt/Condition/2constructor-09.adoc[_» more..._]# Create a condition variable object. Use the realtime system clock as the clock against which the `absTime` timeouts passed to the `timedWait` methods are interpreted (see {Supported Clock‐Types} in the component‐level documentation). This method does not return normally unless there are sufficient system resources to construct the object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bslmt/Condition/2constructor-0b2.adoc[Condition](std::chrono::system_clock const&); ---- [.small]#xref:BloombergLP/bslmt/Condition/2constructor-0b2.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#