Thread Condition Demo




Class for thread condition variables. Condition variables are used in conjunction with mutexes to provide a way for threads to wait until a condition occurs.


Usage:

$ ./condition_demo


Output: the demo program prints to stdout the condition status.


Example output: