summaryrefslogtreecommitdiff
path: root/spinlock.h
diff options
context:
space:
mode:
no more recursive locks
wakeup1() assumes you hold proc_table_lock sleep(chan, lock) provides atomic sleep-and-release to wait for condition ugly code in swtch/scheduler to implement new sleep fix lots of bugs in pipes, wait, and exit fix bugs if timer interrupt goes off in schedule() console locks per line, not per byte
Diffstat (limited to 'spinlock.h')
-rw-r--r--spinlock.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/spinlock.h b/spinlock.h
index a720b24..bc84a58 100644
--- a/spinlock.h
+++ b/spinlock.h
@@ -1,6 +1,4 @@
struct spinlock {
unsigned int locked;
- unsigned who;
- int count;
unsigned locker_pc;
};