Files
kernel/include/sys/sched.h
T
2020-01-04 19:09:49 +02:00

11 lines
232 B
C

#pragma once
#include "sys/thread.h"
// Terminate all tasks
void sched_reboot(unsigned int cmd);
struct thread *sched_find(int pid);
void sched_set_cpu_count(size_t ncpus);
void sched_add(struct thread *t);
void sched_init(void);