diff options
Diffstat (limited to 'spinlock.h')
-rw-r--r-- | spinlock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spinlock.h b/spinlock.h new file mode 100644 index 0000000..ee0a26c --- /dev/null +++ b/spinlock.h @@ -0,0 +1,6 @@ +struct spinlock { + unsigned int locked; + struct proc *p; + int count; + unsigned locker_pc; +}; |