[#BloombergLP-bslmt-ConditionImpl-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ConditionImpl-02.adoc[ConditionImpl]<xref:BloombergLP/bslmt/Platform/PosixThreads.adoc[Platform::PosixThreads]> :relfileprefix: ../../ :mrdocs: Full specialization of `Condition` for pthreads. == Synopsis Declared in `<bslmt_conditionimpl_pthread.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> class xref:BloombergLP/bslmt/ConditionImpl-02.adoc[ConditionImpl]<xref:BloombergLP/bslmt/Platform/PosixThreads.adoc[Platform::PosixThreads]>; ---- == Description This class provides a full specialization of `Condition` for pthreads. The implementation provided here defines an efficient proxy for the `pthread_cond_t` pthread type, and related operations. == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslmt/ConditionImpl-00/_04enum.adoc[`Unnamed enum`] | The value `timedWait` returns when a timeout occurs. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslmt/ConditionImpl-00/2constructor.adoc[`ConditionImpl`] [.small]#[constructor]# | Create a condition variable object. | xref:BloombergLP/bslmt/ConditionImpl-00/2destructor.adoc[`~ConditionImpl`] [.small]#[destructor]# | Destroy condition variable this object. | xref:BloombergLP/bslmt/ConditionImpl-00/broadcast.adoc[`broadcast`] | Signal this condition object; wake up all threads that are currently waiting on this condition. | xref:BloombergLP/bslmt/ConditionImpl-00/clockType.adoc[`clockType`] | Return the clock type used for timeouts. | xref:BloombergLP/bslmt/ConditionImpl-00/signal.adoc[`signal`] | Signal this condition object; wake up a single thread that is currently waiting on this condition. | xref:BloombergLP/bslmt/ConditionImpl-00/timedWait.adoc[`timedWait`] | Atomically unlock the mutex and wait until signaled or timeout. | xref:BloombergLP/bslmt/ConditionImpl-00/wait.adoc[`wait`] | Atomically unlock the mutex and wait until this condition is signaled. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#