diff options
Diffstat (limited to 'src/include/util/locked/lock.H')
-rw-r--r-- | src/include/util/locked/lock.H | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/util/locked/lock.H b/src/include/util/locked/lock.H new file mode 100644 index 000000000..b5237276e --- /dev/null +++ b/src/include/util/locked/lock.H @@ -0,0 +1,20 @@ +#ifndef __UTIL_LOCKED_LOCK_H +#define __UTIL_LOCKED_LOCK_H + +namespace Util +{ + namespace Locked + { + class Lock + { + public: + Lock() {}; + virtual ~Lock() {}; + + virtual void lock() = 0; + virtual void unlock() = 0; + }; + }; +}; + +#endif |