Salome HOME
projects
/
modules
/
yacs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git]
/
src
/
bases
/
Mutex.hxx
1
#ifndef __MUTEX_HXX__
2
#define __MUTEX_HXX__
3
4
// --- Interface is:
5
6
// class Mutex
7
// {
8
// public:
9
// Mutex();
10
// void lock();
11
// void unlock();
12
// };
13
14
// class Condition
15
// {
16
// public:
17
// Condition();
18
// void notify_one();
19
// void notify_all();
20
// void wait(Mutex& mutex);
21
// };
22
23
24
#if defined(YACS_PTHREAD)
25
#include "MutexPT.hxx"
26
27
namespace YACS
28
{
29
namespace BASES
30
{
31
typedef MutexPT Mutex;
32
typedef ConditionPT Condition;
33
}
34
}
35
#else
36
#error
37
#endif
38
39
#endif