diff options
Diffstat (limited to 'spinlock.h')
-rw-r--r-- | spinlock.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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? -}; - |