sched: apply proper blocking mechanism for chardev

Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
Michael Shaw 2024-06-17 14:09:53 -04:00
commit dfed938383
12 changed files with 183 additions and 24 deletions

View file

@ -3,13 +3,5 @@
#define _CHAR_H_
#include <kernel/common.h>
#include <kernel/proc.h>
struct char_queue {
char *buf;
size_t size;
struct proc *proc;
struct char_queue *next;
};
#endif /* _CHAR_H_ */