summaryrefslogtreecommitdiff
path: root/src/stable/mutexlocker.h
blob: 30e71e6bc7c4667454b6c6ad6e9decae1056c3ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef BU_MUTEX_LOCKER_H
#define BU_MUTEX_LOCKER_H

namespace Bu
{
    class Mutex;
    class MutexLocker
    {
    public:
        MutexLocker( Mutex &mu );
        virtual ~MutexLocker();

        void unlock();
        void relock();

    private:
        Mutex μ
    };
};

#endif