aboutsummaryrefslogtreecommitdiff
path: root/src/stable/mutexlocker.h
blob: 7c3c97e96a2f8a79b8ef705420a91e81165ff611 (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