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