summaryrefslogtreecommitdiffstats
path: root/src/include/util/locked/lock.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/util/locked/lock.H')
-rw-r--r--src/include/util/locked/lock.H20
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
OpenPOWER on IntegriCloud