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
This commit is contained in:
parent
d9872ffa95
commit
46bbd72f3e
15 changed files with 231 additions and 104 deletions
|
|
@ -8,3 +8,4 @@
|
|||
#define SYS_close 8
|
||||
#define SYS_block 9
|
||||
#define SYS_kill 10
|
||||
#define SYS_panic 11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue