11 lines
232 B
C
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);
|