From 46bbd72f3eeaff9386b2a90af88f3d46b458a0e8 Mon Sep 17 00:00:00 2001 From: rtm Date: Sat, 15 Jul 2006 12:03:57 +0000 Subject: 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 --- syscall.h | 1 + 1 file changed, 1 insertion(+) (limited to 'syscall.h') diff --git a/syscall.h b/syscall.h index 6a76893..52e2301 100644 --- a/syscall.h +++ b/syscall.h @@ -8,3 +8,4 @@ #define SYS_close 8 #define SYS_block 9 #define SYS_kill 10 +#define SYS_panic 11 -- cgit v1.2.3