[#BloombergLP-bslmt-Condition]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::Condition
:relfileprefix: ../../
:mrdocs:

This `class` implements a portable inter&hyphen;thread signaling primitive&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class Condition;
----

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmt/Condition/_04enum.adoc[`Unnamed enum`] 
| The value `timedWait` returns when a timeout occurs&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmt/Condition/2constructor-0b8.adoc[`Condition`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bslmt/Condition/2destructor.adoc[`&#126;Condition`] [.small]#[destructor]#
| Destroy this condition variable object&period;
| xref:BloombergLP/bslmt/Condition/broadcast.adoc[`broadcast`] 
| Wake all threads currently waiting on this condition&period;
| xref:BloombergLP/bslmt/Condition/clockType.adoc[`clockType`] 
| Return the clock type used for timeouts&period;
| xref:BloombergLP/bslmt/Condition/signal.adoc[`signal`] 
| Wake a single thread currently waiting on this condition&period;
| xref:BloombergLP/bslmt/Condition/timedWait-00.adoc[`timedWait`] 
| Unlock `mutex` and wait until signaled or until `absTime`&period;
| xref:BloombergLP/bslmt/Condition/wait.adoc[`wait`] 
| Unlock `mutex` and wait until this condition is signaled&period;
|===



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