diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-08-25 06:48:24 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-08-25 06:48:24 +0000 |
commit | 6df767863656d2e3efffed562a02180b3ea11624 (patch) | |
tree | 93253944bfe829fddf40ccb3d120967f66a8a419 /src/itolocker.h | |
parent | bc6952f06b9d1cff7417d3f71ce5a65704ebbb02 (diff) | |
download | libbu++-6df767863656d2e3efffed562a02180b3ea11624.tar.gz libbu++-6df767863656d2e3efffed562a02180b3ea11624.tar.bz2 libbu++-6df767863656d2e3efffed562a02180b3ea11624.tar.xz libbu++-6df767863656d2e3efffed562a02180b3ea11624.zip |
Bu::ItoLocker is rather handy, I like it. I reccomend it.
Diffstat (limited to '')
-rw-r--r-- | src/itolocker.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/itolocker.h b/src/itolocker.h new file mode 100644 index 0000000..76e5198 --- /dev/null +++ b/src/itolocker.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #ifndef BU_ITO_LOCKER_H | ||
2 | #define BU_ITO_LOCKER_H | ||
3 | |||
4 | namespace Bu | ||
5 | { | ||
6 | class ItoMutex; | ||
7 | class ItoLocker | ||
8 | { | ||
9 | public: | ||
10 | ItoLocker( ItoMutex &mu ); | ||
11 | virtual ~ItoLocker(); | ||
12 | |||
13 | private: | ||
14 | ItoMutex & mu; | ||
15 | }; | ||
16 | }; | ||
17 | |||
18 | #endif | ||