Belle II Software
release-05-01-25
Cond.h
1
#ifndef _Belle2_Cond_hh
2
#define _Belle2_Cond_hh
3
4
#include "daq/slc/system/Mutex.h"
5
6
namespace
Belle2
{
12
class
Cond
{
13
14
public
:
15
Cond
();
16
Cond
(
const
Cond
& cond);
17
~
Cond
() {};
18
19
public
:
20
bool
init();
21
bool
signal();
22
bool
broadcast();
23
bool
wait(
Mutex
& mutex);
24
bool
wait(
Mutex
& mutex,
const
unsigned
int
sec,
25
const
unsigned
int
msec = 0);
26
bool
destroy();
27
28
private
:
29
pthread_cond_t m_cond_t;
30
31
};
33
};
34
#endif
Belle2::Mutex
Definition:
Mutex.h:12
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::Cond
Definition:
Cond.h:12
daq
slc
system
include
Cond.h
Generated on Fri Nov 5 2021 03:50:10 for Belle II Software by
1.8.17