summaryrefslogtreecommitdiff
path: root/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'spinlock.h')
-rw-r--r--spinlock.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/spinlock.h b/spinlock.h
index f6a69b7..fdda016 100644
--- a/spinlock.h
+++ b/spinlock.h
@@ -1,4 +1,4 @@
-// Mutual exclusion lock for short code fragments
+// Mutual exclusion lock.
struct spinlock {
uint locked; // Is the lock held?
@@ -9,8 +9,3 @@ struct spinlock {
// that locked the lock.
};
-// Lock that maybe held across sleeps
-struct sleeplock {
- uint locked; // Is the lock held?
-};
-