CAEN Utility  2.0.2
Utilities for CAEN projects
c_condition_t Struct Reference

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>

Collaboration diagram for c_condition_t:

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...
 

Detailed Description

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.

Field Documentation

◆ _cond

A condition variable.

Definition at line 90 of file CAENThreadTypes.h.

◆ _mutex

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.


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