[#BloombergLP-bslmt-ConditionImpl-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ConditionImpl-02.adoc[ConditionImpl]&lt;xref:BloombergLP/bslmt/Platform/PosixThreads.adoc[Platform::PosixThreads]&gt;
:relfileprefix: ../../
:mrdocs:

Full specialization of `Condition` for pthreads&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;conditionimpl&lowbar;pthread&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
class xref:BloombergLP/bslmt/ConditionImpl-02.adoc[ConditionImpl]&lt;xref:BloombergLP/bslmt/Platform/PosixThreads.adoc[Platform::PosixThreads]&gt;;
----

== Description

This class provides a full specialization of `Condition` for pthreads&period; The implementation provided here defines an efficient proxy for the `pthread&lowbar;cond&lowbar;t` pthread type, and related operations&period;

== Enums

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


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmt/ConditionImpl-00/2constructor.adoc[`ConditionImpl`]         [.small]#[constructor]#
| Create a condition variable object&period;
| xref:BloombergLP/bslmt/ConditionImpl-00/2destructor.adoc[`&#126;ConditionImpl`] [.small]#[destructor]#
| Destroy condition variable this object&period;
| xref:BloombergLP/bslmt/ConditionImpl-00/broadcast.adoc[`broadcast`] 
| Signal this condition object&semi; wake up all threads that are currently waiting on this condition&period;
| xref:BloombergLP/bslmt/ConditionImpl-00/clockType.adoc[`clockType`] 
| Return the clock type used for timeouts&period;
| xref:BloombergLP/bslmt/ConditionImpl-00/signal.adoc[`signal`] 
| Signal this condition object&semi; wake up a single thread that is currently waiting on this condition&period;
| xref:BloombergLP/bslmt/ConditionImpl-00/timedWait.adoc[`timedWait`] 
| Atomically unlock the mutex and wait until signaled or timeout&period;
| xref:BloombergLP/bslmt/ConditionImpl-00/wait.adoc[`wait`] 
| Atomically unlock the mutex and wait until this condition is signaled&period;
|===



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