Karg
v0.2.0
The kernel of CargOS
sched.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
proc.h
>
4
5
extern
proc_t
*
curr_proc
;
6
7
void
sched_update_state
(
proc_t
*
proc
,
proc_state_t
state);
8
[[noreturn]]
void
sched_start
(
void
);
9
void
sched_resched
(
void
);
proc.h
proc_state_t
proc_state_t
Definition:
proc.h:12
sched_resched
void sched_resched(void)
Definition:
sched.c:88
sched_start
void sched_start(void)
Definition:
sched.c:82
sched_update_state
void sched_update_state(proc_t *proc, proc_state_t state)
Definition:
sched.c:35
curr_proc
proc_t * curr_proc
Definition:
sched.c:13
proc
Definition:
proc.h:22
include
sched.h
Generated by
1.9.1