From 469bbcf0701e1eb8a6670c23145b0da87357e178 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 25 Mar 2012 20:00:08 +0000 Subject: Code is all reorganized. We're about ready to release. I should write up a little explenation of the arrangement. --- src/stable/mutexlocker.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/stable/mutexlocker.h (limited to 'src/stable/mutexlocker.h') diff --git a/src/stable/mutexlocker.h b/src/stable/mutexlocker.h new file mode 100644 index 0000000..7c3c97e --- /dev/null +++ b/src/stable/mutexlocker.h @@ -0,0 +1,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 -- cgit v1.2.3