|
CAEN Utility
2.0.2
Utilities for CAEN projects
|
Needed because a condition variable on Linux is associated with a mutex, while on Windows it is associated with a critical section. More...
#include <CAENThreadTypes.h>
Data Fields | |
| c_conditionvariable_t | _cond |
| A condition variable. More... | |
| pthread_mutex_t | _mutex |
| On Linux a pthread_cond_t is use with a pthread_mutex_t. More... | |
Needed because a condition variable on Linux is associated with a mutex, while on Windows it is associated with a critical section.
Condition type with a mutex attached
Definition at line 89 of file CAENThreadTypes.h.
| c_conditionvariable_t _cond |
A condition variable.
Definition at line 90 of file CAENThreadTypes.h.
| pthread_mutex_t _mutex |
On Linux a pthread_cond_t is use with a pthread_mutex_t.
Definition at line 94 of file CAENThreadTypes.h.