1 /* 2 * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef KERNEL_SCHEDULER_H 6 #define KERNEL_SCHEDULER_H 7 8 9 struct thread; 10 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 void scheduler_enqueue_in_run_queue(struct thread *thread); 17 void scheduler_remove_from_run_queue(struct thread *thread); 18 void scheduler_reschedule(void); 19 20 void scheduler_init(void); 21 void scheduler_start(void); 22 23 #ifdef __cplusplus 24 } 25 #endif 26 27 #endif /* KERNEL_SCHEDULER_H */ 28