disable all interrupts when acquiring lock

user program that makes a blocking system call
This commit is contained in:
kaashoek 2006-07-06 21:47:22 +00:00
parent b22d898297
commit 7837c71b32
10 changed files with 58 additions and 14 deletions

View file

@ -6,3 +6,4 @@
#define SYS_write 6
#define SYS_read 7
#define SYS_close 8
#define SYS_block 9