diff options
Diffstat (limited to 'src/stable/mutexlocker.h')
-rw-r--r-- | src/stable/mutexlocker.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/stable/mutexlocker.h b/src/stable/mutexlocker.h index 7c3c97e..30e71e6 100644 --- a/src/stable/mutexlocker.h +++ b/src/stable/mutexlocker.h | |||
@@ -3,19 +3,19 @@ | |||
3 | 3 | ||
4 | namespace Bu | 4 | namespace Bu |
5 | { | 5 | { |
6 | class Mutex; | 6 | class Mutex; |
7 | class MutexLocker | 7 | class MutexLocker |
8 | { | 8 | { |
9 | public: | 9 | public: |
10 | MutexLocker( Mutex &mu ); | 10 | MutexLocker( Mutex &mu ); |
11 | virtual ~MutexLocker(); | 11 | virtual ~MutexLocker(); |
12 | 12 | ||
13 | void unlock(); | 13 | void unlock(); |
14 | void relock(); | 14 | void relock(); |
15 | 15 | ||
16 | private: | 16 | private: |
17 | Mutex μ | 17 | Mutex μ |
18 | }; | 18 | }; |
19 | }; | 19 | }; |
20 | 20 | ||
21 | #endif | 21 | #endif |