sched: simplify entry-exit path between processes
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
308ba36aab
commit
11bedfe3a8
7 changed files with 24 additions and 20 deletions
|
|
@ -5,5 +5,8 @@
|
|||
#include <kernel/proc.h>
|
||||
|
||||
void sched_add_thread(struct thread *t);
|
||||
void schedule();
|
||||
void sched_save_state(struct thread *t);
|
||||
void sched_restore_state(struct thread *t);
|
||||
|
||||
#endif /* _SCHED_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue