sys_read: implement different blocking mechanism

This commit is contained in:
Michael Shaw 2024-06-13 19:23:06 -04:00
commit fba82790a9
3 changed files with 8 additions and 1 deletions

View file

@ -13,6 +13,7 @@
#define PROC_RUNNING 0
#define PROC_STOPPED 1
#define PROC_BLOCKED 2
#define PROC_BLOCKED_SYSCALL 3
#define STDIN_FILENO 0
#define STDOUT_FILENO 1