diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2010-06-09 14:12:01 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2010-06-09 14:12:01 -0500 |
commit | e7a6ae9cc5b84abe63c7439005656ecc4beda8c1 (patch) | |
tree | e50ad79598edeccd4b2e513f146896d2d60f0c82 /src/include/util | |
parent | cbbd9e5b225e743ee3b4688ac6a3b69a9876926a (diff) | |
download | talos-hostboot-e7a6ae9cc5b84abe63c7439005656ecc4beda8c1.tar.gz talos-hostboot-e7a6ae9cc5b84abe63c7439005656ecc4beda8c1.zip |
Kernel spinlock support.
Diffstat (limited to 'src/include/util')
-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 |