char status[255];
/** If less than zero, the task was notified by another task. */
int notification;
- /** Whether the task structure should be freed in sched_shutdown(). */
- bool owned_by_sched;
/** True if task is in error state and exit status has been queried. */
bool dead;
/** Usually a pointer to the struct containing this task. */
struct task *task_register(struct task_info *info, struct sched *s);
void *task_context(struct task *t);
-void register_task(struct sched *s, struct task *t);
int schedule(struct sched *s);
void sched_shutdown(struct sched *s);
char *get_task_list(struct sched *s);