You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
248 B

7 years ago
#ifndef _OS_H_
#define _OS_H_
typedef void (*os_task_func)(void*);
void os_init(void);
void os_run(void);
void os_task_add(os_task_func func, void* data);
void os_current_task_kill(void);
void* os_current_task_get_data(void);
#endif /* _OS_H_ */