#include "process.h" #include "scheduler.h" #include "alloc.h" extern int task1(void); extern int task2(void); int main(void) { init_allocator(); ProcessTable *ptable; create_process_table(&ptable); create_process(ptable, task1); create_process(ptable, task2); run(ptable); }