sched: add basic scheduler, fork syscall
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
8fc9f1396e
commit
b6a9ddd1d0
8 changed files with 133 additions and 8 deletions
9
include/kernel/sched.h
Normal file
9
include/kernel/sched.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef _SCHED_H_
|
||||
#define _SCHED_H_
|
||||
|
||||
#include <kernel/proc.h>
|
||||
|
||||
void sched_add_thread(struct thread *t);
|
||||
|
||||
#endif /* _SCHED_H_ */
|
||||
Loading…
Reference in a new issue