disable all interrupts when acquiring lock
user program that makes a blocking system call
This commit is contained in:
parent
b22d898297
commit
7837c71b32
10 changed files with 58 additions and 14 deletions
|
|
@ -6,3 +6,4 @@
|
|||
#define SYS_write 6
|
||||
#define SYS_read 7
|
||||
#define SYS_close 8
|
||||
#define SYS_block 9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue