OnixS C++ FIX Engine  4.2.0
API Documentation
Condition Class Reference

#include <OnixS/FIXEngine/Threading/Condition.h>

Public Member Functions

 Condition ()
 
 ~Condition ()
 
void signal ()
 
void signalAll ()
 
void wait (Mutex &lock)
 

Detailed Description

Condition variable enables threads to atomically block and test condition under protection of mutual exclusion lock (Mutex) until condition is satisfied.

Definition at line 33 of file Condition.h.

Constructor & Destructor Documentation

Condition ( )

Initializes the instance.

~Condition ( )

Destructs the instance.

Member Function Documentation

void signal ( )

Signals one waiting thread.

void signalAll ( )

Signals all waiting threads.

void wait ( Mutex lock)

Blocks on a condition.

Parameters
lockRepresents a reference to Mutex which is used to protect condition testing.

The documentation for this class was generated from the following file: