Salome HOME
PR: first version from Antony GEAY, with directory restructuration
[modules/yacs.git] / src / bases / Mutex.hxx
1 #ifndef __MUTEX_HXX__
2 #define __MUTEX_HXX__
3
4 /* Interface is :
5    class Mutex
6     {
7     public:
8       Mutex();
9       void lock();
10       void unlock();
11     };
12  */
13
14 #if defined(YACS_PTHREAD)
15 #include "MutexPT.hxx"
16
17 namespace YACS
18 {
19   namespace BASES
20   {
21     typedef MutexPT Mutex;
22   }
23 }
24 #else
25 #error
26 #endif
27
28 #endif